| name | switchyard-testing-ci |
| description | Select or debug Switchyard validation and GitHub CI. Use when asked which tests to run, whether a change is ready, why a CI job failed, how to reproduce CI, or whether live provider tests are appropriate. |
Switchyard Testing And CI
Read .github/workflows/ci.yml before claiming local CI equivalence. Select tests from the current
diff and symbol references rather than a static subsystem inventory.
Validation Matrix
| Change | Minimum trustworthy validation |
|---|
| Markdown or skill Markdown only | Parse skill frontmatter when applicable; git diff --check |
| Python implementation | Focused pytest, uv run ruff check ., uv run mypy switchyard |
| Broad Python or public API | Hermetic full pytest plus lint and mypy |
| One Rust crate | cargo fmt --all --check, workspace clippy, focused crate tests |
| Shared Rust/API/FFI | Rust workspace tests plus affected Python tests |
| Packaging, extras, top-level imports | The slim-install smoke commands from the current CI workflow |
| Live provider behavior | Focused integration test only after explicit authorization |
Standard Gates
Python pre-PR gate:
uv run ruff check .
uv run mypy switchyard
env -u OPENROUTER_API_KEY -u NVIDIA_API_KEY -u OPENAI_API_KEY \
-u ANTHROPIC_API_KEY uv run pytest tests/ -v -m "not integration"
Rust workspace gate:
cargo --all --check
cargo clippy --workspace --all-targets -- -D warnings
cargo --workspace