gisaf-backend/.woodpecker/test.yaml

31 lines
600 B
YAML
Raw Normal View History

2025-06-28 04:14:50 +02:00
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:
GISAF__DB__HOST: gisaf-database
commands:
# Initialize database
- .venv/bin/gisaf create-db
- .venv/bin/pytest -s tests/basic.py
services:
gisaf-database:
2025-06-28 05:07:52 +02:00
image: code.philo.ydns.eu/philorg/gisaf-database