- Update Woodpecker to run unit and integration tests in parallel - Add GitHub Actions workflow for PyPI trusted publishing on main - Add license, classifiers, keywords, and URLs to pyproject.toml - Fix ruff lint errors (unused imports, duplicate class name) and formatting
21 lines
416 B
YAML
21 lines
416 B
YAML
when:
|
|
branch:
|
|
- main
|
|
- dev
|
|
|
|
steps:
|
|
unit-tests:
|
|
image: ghcr.io/astral-sh/uv:python3.13-bookworm
|
|
commands:
|
|
- uv sync --dev
|
|
- uv run pytest -m "not integration" -v
|
|
|
|
integration-tests:
|
|
image: ghcr.io/astral-sh/uv:python3.13-bookworm
|
|
environment:
|
|
WRENN_API_KEY:
|
|
from_secret: WRENN_API_KEY
|
|
commands:
|
|
- uv sync --dev
|
|
- uv run pytest -m integration -v
|