You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPN-2930] Add GitHub Actions workflow for SDK generation pipeline (#18)
Adds .github/workflows/generate.yml with a manual workflow_dispatch
trigger that runs the full pipeline end-to-end on a clean checkout:
1. Checkout, set up Python 3.12, install dev deps
2. Pull openapitools/openapi-generator-cli:v7.16.0
3. make generate (Docker-based codegen)
4. make format (ruff format + ruff check --fix)
5. make lint (ruff check)
6. make smoke-test (verify generated modules import)
7. make test (pytest + classify_semver bash tests)
Supporting changes to make the pipeline pass:
- pyproject.toml: per-file-ignores for ruff to relax rules that come
from the upstream openapi-generator templates (B028, B904, N805,
RUF002, SIM*, TC001/003, UP030/031, etc.) on generated paths, and
the equivalent style-only rules on hand-written client/ code.
- tests/: fix three real lint findings — two E731 lambda assignments
and one F841 unused variable — and prefix unused unpacks with `_`
to clear RUF059. Remaining test changes are pure ruff format output
(line-length wrapping, removal of unused imports).
Verified locally: full pipeline runs cleanly on macOS and produces
451 pytest + 29 classify_semver test passes with no stray files.
Co-authored-by: Claude Sonnet 4.6 <[email protected]>
0 commit comments