diff --git a/.drone.yml b/.drone.yml index 697697f..1835292 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: - find . -name "*.py" -exec python3 -m py_compile '{}' \; - find . -name "*.py" -exec pylint '{}' + || if [ $? -eq 1 ]; then echo "you fail"; fi - find . -name "*.py" -exec python3 -m mccabe --min 3 '{}' + || if [ $? -eq 1 ]; then echo "you fail"; fi - - bandit -r . + - bandit -r . || if [ $? -eq 1 ]; then echo "you fail"; fi - name: ms-teams image: kuperiu/drone-teams