This commit is contained in:
parent
0633b3efe9
commit
6b36ccc87a
11
.drone.yml
11
.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:
|
||||
|
|
Loading…
Reference in a new issue