Files
python-tdd/.woodpecker.yaml
2026-02-11 15:12:04 -05:00

25 lines
627 B
YAML

steps:
- name: test-UTs
image: python:3.13-slim
commands:
- pip install -r requirements.txt
- cd ./src
- python manage.py test apps
- name: test-FTs
image: gitea.earthmanrpg.me/discoman/python-tdd-ci:latest
environment:
HEADLESS: 1
commands:
- cd ./src
- python manage.py collectstatic --noinput
- python manage.py test functional_tests
- name: screendumps
image: gitea.earthmanrpg.me/discoman/python-tdd-ci:latest
when:
- status: failure
commands:
- cat ./src/functional_tests/screendumps/*.html || echo "No screendumps found"