Skip to content

ci: run the Python test matrix as parallel jobs - #75

Merged
dfkunstler merged 1 commit into
mainfrom
ci/parallel-test-matrix
Nov 17, 2026
Merged

dfkunstler merged 1 commit into
mainfrom
ci/parallel-test-matrix

Conversation

@dfkunstler

@dfkunstler dfkunstler commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Split the serial build job into tag-check, checks (generate, drift check, lint, typing, security, docs), one test (3.11|3.12|3.13|3.14) job per Python, and a final build job that packages only after all pass.
  • Coverage is measured on 3.14 only; that job uploads coverage-html.
  • build stays the required check. It runs under !cancelled() and fails itself if an upstream job failed, since a skipped required check counts as passing.
  • Tests now run against the committed models.py; the drift check in checks ties it to the generated file.
  • DEVELOPING.md updated to describe the new job layout.

Timing (wall clock, per CI run)

  • Before (serial, recent main runs): about 4.7 to 6.7 min.
  • After (this PR, run 44077002474): about 1.4 min (85 s). Slowest job was test (3.13) at 1m8s; checks 41s; build 11s.

No library code changed, so there are no performance numbers for PERFORMANCE.md.

Notes

  • The matrix now lives in both build.yml and pyproject.toml; both carry a comment to keep them in step.
  • Not linted with actionlint locally.

Split the single serial `build` job into `tag-check`, `checks`, one
`test` job per Python (3.11-3.14), and a final `build` job that packages
only after everything passes. Coverage is measured on 3.14 only.

`build` stays the required status check: it runs under `!cancelled()`
and fails itself if an upstream job failed, because a skipped required
check would otherwise count as passing.
@dfkunstler
dfkunstler force-pushed the ci/parallel-test-matrix branch from fb42c37 to 9dde316 Compare November 17, 2026 11:48
@dfkunstler
dfkunstler merged commit ea37788 into main Nov 17, 2026
12 checks passed
@dfkunstler
dfkunstler deleted the ci/parallel-test-matrix branch November 17, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant