ci: reduce runner costs — Linux-first matrix with targeted cross-platform spot-checks#25
Open
harell wants to merge 1 commit into
Open
ci: reduce runner costs — Linux-first matrix with targeted cross-platform spot-checks#25harell wants to merge 1 commit into
harell wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context — GitHub Actions cost reduction
The
tonkintaylororganisation is currently spending .46 over its included Actions minutes (as of April 2026). An audit of all 37 org repositories identified this repo as a cost contributor.What the current setup costs
The CI matrix runs 3 operating systems × 4 Python versions = 12 jobs per push plus a min-deps run — 13 jobs total per trigger.
GitHub charges hosted runner minutes at:
ubuntu-latestwindows-latestmacos-latestWith 14 workflow runs recorded since January 2026, each run with 4 macOS jobs (~3 min each) accounts for the equivalent of ~30 Linux minutes per run — ~1,700 Linux-equivalent minutes for macOS alone in this period.
What this changes
Spot-check jobs skip
checks(pre-commit, pyright, zizmor) which are Linux-only tools — tests are the only useful cross-platform signal.Why this is safe
geopins-pythonis a published PyPI library, so some cross-platform validation is warranted. However, any OS-specific packaging or import bug will surface on the spot-check against the latest Python. Full Python version sweeps are preserved on Linux.No functional changes
No source code, tests, or configuration is modified. This is a CI runner change only.