diff --git a/.woodpecker/workflow.yaml b/.woodpecker/workflow.yaml index d252862..f6754b6 100644 --- a/.woodpecker/workflow.yaml +++ b/.woodpecker/workflow.yaml @@ -22,8 +22,11 @@ steps: - markdownlint-cli2 . # currently doesn't work and bronsen can't be arsed to fix - # - name: Run Tests - # image: docker.io/astral/uv:python${PYTHON_VERSION}-trixie-slim - # commands: - # - uv run pytest tests.py - # coverage: uv run pytest tests.py --cov-report= --cov=src # no cov report on terminal: useful for CI + - name: Run Tests + image: docker.io/astral/uv:python${PYTHON_VERSION}-trixie-slim + commands: + - python -m venv venv + - source venv/bin/activate + - python -m pip install -r requirements.txt -r requirements.dev.txt + - python -m pytest tests.py + # coverage: uv run pytest tests.py --cov-report= --cov=src # no cov report on terminal: useful for CI