diff --git a/.drone.yml b/.drone.yml index 5fb8759..273f867 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,17 @@ type: docker name: build-latest steps: +- name: test + image: python:3.12-slim-bookworm + settings: + repo: git.thisfro.ch/pflaenz.li/pflaenzli + commands: + - cd pflaenzli + - pip install coverage + - pip install -r requirements.txt + - coverage run --branch --source='.' manage.py test + - coverage report -m + - name: build-image image: plugins/docker settings: