From b32a6c4c8b4eeae0043676bb7d61be74d9501feb Mon Sep 17 00:00:00 2001 From: Jens Timmerman Date: Fri, 6 Aug 2021 23:31:03 +0200 Subject: [PATCH] added drone.yml --- .drone.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..8ac31ba --- /dev/null +++ b/.drone.yml @@ -0,0 +1,23 @@ +kind: pipeline +type: exec +name: default + + +platform: + os: linux + arch: amd64 + +steps: + - name: install deps + commands: + - dnf install -y python3 python3-pip + - pip3 install -U Django coverage flake8 pylint django-coverage-plugin pylint-django django-bootstrap4 + - name: run unittests + commands: + - coverage run --source='.' manage.py test --noinput --parallel + - name: run flake8 + commands: + - flake8 + - name: run pylint + commands: + - pylint --rcfile=.pylintrc -- **/*.py