xoxys.general/.woodpecker/unit-test.yml

25 lines
455 B
YAML

---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
matrix:
PYTHON_VERSION:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
pytest:
image: docker.io/library/python:${PYTHON_VERSION}
commands:
- git fetch --depth=2147483647
- pip install poetry -qq
- poetry install --all-extras --no-root
- poetry run pytest
environment:
PY_COLORS: "1"