Compare commits

...

5 commits
main ... dev

Author SHA1 Message Date
Jannis Portmann
86060740d8 Specify module to test
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-11 19:27:44 +01:00
Jannis Portmann
55aed5f346 Add env vars
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-11 19:23:48 +01:00
Jannis Portmann
571918ec15 Stay in top dir
Some checks failed
continuous-integration/drone/push Build is failing
2024-02-11 19:19:22 +01:00
Jannis Portmann
6b36ccc87a Test testing
Some checks failed
continuous-integration/drone/push Build is failing
2024-02-11 19:17:59 +01:00
Jannis Portmann
0633b3efe9 Update base-image 2024-02-11 19:17:43 +01:00
2 changed files with 14 additions and 1 deletions

View file

@ -3,6 +3,19 @@ type: docker
name: build-latest
steps:
- name: test
image: python:3.12-slim-bookworm
settings:
repo: git.thisfro.ch/pflaenz.li/pflaenzli
environment:
DJANGO_ALLOWED_HOSTS: localhost,[::1]
DJANGO_CSRF_TRUSTED_ORIGINS: http://localhost:8000
commands:
- pip install coverage
- pip install -r requirements.txt
- coverage run --branch --source='.' pflaenzli/manage.py test pflaenzli
- coverage report -m
- name: build-image
image: plugins/docker
settings:

View file

@ -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