treetrail-backend/.woodpecker/test.yaml
phil e676a7df74
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/tag/test Pipeline was successful
ci/woodpecker/tag/build Pipeline was successful
CI: run db service for test
2025-06-28 00:39:32 +02:00

28 lines
552 B
YAML

when:
- event: push
branch: main
- event: manual
- event: tag
steps:
sync:
image: code.philo.ydns.eu/philorg/uv-geo
pull: true
volumes:
- uv-cache:/uv-cache
environment:
UV_CACHE_DIR: /uv-cache
UV_LINK_MODE: copy
commands:
- uv sync
test:
image: code.philo.ydns.eu/philorg/uv-geo
environment:
TREETRAIL_DB_HOST: treetrail-database
commands:
- .venv/bin/pytest -s tests/basic.py
services:
treetrail-database:
image: code.philo.ydns.eu/philorg/treetrail-database