ci: add bandit job
This commit is contained in:
parent
3665c34961
commit
c25367d95c
1 changed files with 8 additions and 0 deletions
|
@ -1,5 +1,13 @@
|
|||
image: python:3.8-bullseye
|
||||
|
||||
test:bandit:
|
||||
script:
|
||||
- cp config.yaml.example config.yaml
|
||||
- apt update && apt install build-essential
|
||||
- pip install -r requirements.txt --quiet
|
||||
- pip install bandit --quiet
|
||||
- bandit -r app
|
||||
|
||||
test:mypy:
|
||||
script:
|
||||
- cp config.yaml.example config.yaml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue