- unit.yml: unit tests on every push and pull_request, all branches. - code-runner.yml: PR to dev/main, gated on src/wrenn/code_runner/** or tests/test_code_runner_*.py; runs `make test-code-runner`. - integration.yml: PR to dev/main, gated on src/** excluding src/wrenn/code_runner/**; runs `make test-integration`. E2E pipelines require a src/** change, so docs/test-only PRs only trigger the unit pipeline. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
19 lines
452 B
YAML
19 lines
452 B
YAML
# E2E — code_runner. PR to dev/main when code_runner sources/tests change.
|
|
when:
|
|
- event: pull_request
|
|
branch: [main, dev]
|
|
path:
|
|
include:
|
|
- "src/wrenn/code_runner/**"
|
|
- "tests/test_code_runner_*.py"
|
|
|
|
steps:
|
|
test-code-runner:
|
|
image: ghcr.io/astral-sh/uv:python3.13-bookworm
|
|
environment:
|
|
WRENN_API_KEY:
|
|
from_secret: WRENN_API_KEY
|
|
commands:
|
|
- uv sync --dev
|
|
- make test-code-runner
|