tinysteady-mailer/.woodpecker/test.yaml
phil 31b6cb620b
All checks were successful
ci/woodpecker/tag/build Pipeline was successful
ci/woodpecker/tag/test Pipeline was successful
Fix version, add very basic test
2025-06-27 05:14:05 +02:00

31 lines
602 B
YAML

when:
- event: push
branch: main
- event: manual
- event: tag
steps:
sync:
image: code.philo.ydns.eu/philorg/uv
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
environment:
SERVER_PORT: 8025
SERVER_HOSTNAME: aiosmtpd
CONFIG: configs/local.yaml
commands:
- .venv/bin/pytest -s tests/basic.py
services:
aiosmtpd:
image: code.philo.ydns.eu/philorg/aiosmtpd
entrypoint: ["aiosmtpd", "-l", "aiosmtpd"]