summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
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