gisaf-backend/.woodpecker/test.yaml
phil 1c76934e17
Some checks failed
/ test (push) Waiting to run
ci/woodpecker/push/test Pipeline failed
CI: debug
2025-06-28 04:59:24 +02:00

33 lines
694 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:
GISAF__DB__HOST: gisaf-database
commands:
# Initialize database
- ls -l .venv/bin/gisaf
- ls -l .venv/bin/python*
- cat .venv/bin/gisaf
- .venv/bin/gisaf create-db
- .venv/bin/pytest -s tests/basic.py
services:
gisaf-database:
image: code.philo.ydns.eu/philorg/treetrail-database