From bdd08b883fcd0aea1cbaf09c864809dcccec743e Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 20 Nov 2017 20:50:24 +0100 Subject: [PATCH] Add a check for vulnerabilities in dependencies in gitlab-ci --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cfd7d6af..c0f15724 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ stages: - build - test + build-ubuntu: stage: build image: poezio/build-base:latest @@ -13,6 +14,13 @@ build-ubuntu: paths: - dist/ +security-check: + stage: test + image: python:3 + script: + - pip3 install safety + - safety check -r requirements.txt + test-ubuntu: stage: test image: poezio/test-base:latest