Add a check for vulnerabilities in dependencies in gitlab-ci
This commit is contained in:
parent
6c00483ed8
commit
bdd08b883f
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue