2025-06-26 19:18:14 +02:00
|
|
|
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
|
2025-06-27 05:14:05 +02:00
|
|
|
environment:
|
|
|
|
SERVER_PORT: 8025
|
|
|
|
SERVER_HOSTNAME: aiosmtpd
|
|
|
|
CONFIG: configs/local.yaml
|
2025-06-26 19:18:14 +02:00
|
|
|
commands:
|
|
|
|
- .venv/bin/pytest -s tests/basic.py
|
2025-06-27 05:14:05 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
aiosmtpd:
|
|
|
|
image: code.philo.ydns.eu/philorg/aiosmtpd
|
|
|
|
entrypoint: ["aiosmtpd", "-l", "aiosmtpd"]
|
|
|
|
|