selfprivacy-rest-api/.drone.yml

20 lines
271 B
YAML
Raw Normal View History

2021-12-06 19:12:30 +00:00
kind: pipeline
type: exec
2021-12-06 19:11:04 +00:00
name: default
2021-12-06 19:12:30 +00:00
2021-12-06 19:11:04 +00:00
platform:
os: linux
arch: amd64
2021-12-06 19:12:30 +00:00
2021-12-06 19:11:04 +00:00
steps:
- name: test
commands:
- coverage run -m pytest -q
- coverage xml
- name: bandit
commands:
- bandit -ll -r selfprivacy_api
- name: formatting
commands:
- black --check .