ci: consolidate woodpecker pipelines, fix global when syntax, clean pyproject.toml
Some checks failed
ci/woodpecker/pr/pipeline Pipeline failed
Some checks failed
ci/woodpecker/pr/pipeline Pipeline failed
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
when:
|
||||
- event: [push, pull_request]
|
||||
branch: [dev, main, master]
|
||||
event: [push, pull_request]
|
||||
branch: [dev, main, master]
|
||||
|
||||
steps:
|
||||
- name: deps
|
||||
@@ -22,7 +22,6 @@ steps:
|
||||
depends_on: [deps]
|
||||
commands:
|
||||
- pip install uv
|
||||
- uv sync --no-dev --group lints --group tests --group types
|
||||
- uv run ruff check .
|
||||
- uv run ruff format --check .
|
||||
- uv run isort --check-only .
|
||||
@@ -36,7 +35,6 @@ steps:
|
||||
depends_on: [deps]
|
||||
commands:
|
||||
- pip install uv
|
||||
- uv sync --no-dev --group lints --group tests --group types
|
||||
- uv run mypy .
|
||||
|
||||
- name: test-unit
|
||||
@@ -48,12 +46,8 @@ steps:
|
||||
depends_on: [deps]
|
||||
commands:
|
||||
- pip install uv
|
||||
- uv sync --no-dev --group lints --group tests --group types
|
||||
- uv run pytest tests/unit/ --no-cov
|
||||
|
||||
# E2E tests require a running server and Playwright browser.
|
||||
# They are kept separate because they need the full dev dependency set
|
||||
# and a longer-lived test environment.
|
||||
- name: test-e2e
|
||||
image: mcr.microsoft.com/playwright/python:v1.51.0
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user