Compare commits
2 commits
bd70276bc2
...
6b36ccc87a
Author | SHA1 | Date | |
---|---|---|---|
6b36ccc87a | |||
0633b3efe9 |
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:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.11-slim-bullseye
|
||||
FROM python:3.12-slim-bookworm
|
||||
|
||||
RUN apt update && apt install -y libpq-dev nginx gettext
|
||||
|
||||
|
|
Loading…
Reference in a new issue