ci: add bandit job

This commit is contained in:
Iain Learmonth 2022-05-16 12:03:24 +01:00
parent 3665c34961
commit c25367d95c

View file

@ -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