transip-client/.woodpecker/tests.yaml
Sonny Bakker 90f9873cad
All checks were successful
ci/woodpecker/push/tests Pipeline was successful
ci/woodpecker/manual/tests Pipeline was successful
Allow test jobs to be ran manually
2025-05-04 09:38:28 +02:00

18 lines
435 B
YAML

when:
- event: push
- event: manual
steps:
- name: python tests
image: ghcr.io/astral-sh/uv:python3.11-alpine
commands:
- uv sync --group ci
- uv run -- coverage run --module unittest
- uv run -- coverage report
- name: code formatting & linting
image: ghcr.io/astral-sh/uv:python3.11-alpine
commands:
- uv sync
- uv run -- ruff format --diff
- uv run -- ruff check --diff