tests done
Some checks failed
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build was killed

This commit is contained in:
2020-03-30 19:33:09 +02:00
parent 39d32f39f4
commit 50dec05e6b
7 changed files with 250 additions and 20 deletions

View File

@@ -4,7 +4,7 @@ name: default
steps:
- name: static_analysis
image: python:3
image: python:3.8
commands:
- pip3 install pylint bandit mccabe
- pip3 install -r requirements.txt
@@ -13,6 +13,12 @@ steps:
- find . -name "*.py" -exec python3 -m mccabe --min 3 '{}' + || if [ $? -eq 1 ]; then echo "you fail"; fi
- bandit -r . + || if [ $? -eq 1 ]; then echo "you fail"; fi
- name: unit_test
image: python:3.8
commands:
- pip3 install -r requirements.txt
- pytest test.py
- name: build
image: docker:stable-dind
volumes: