ci: reduce runner costs — Linux-first matrix with targeted cross-platform spot-checks - #53
Open
harell wants to merge 1 commit into
Open
ci: reduce runner costs — Linux-first matrix with targeted cross-platform spot-checks#53harell 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.

0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage (93.00% Estimated after merge)
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 one of the top cost contributors, with 43 workflow runs recorded since January 2026.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 43 runs, the 4 macOS jobs per trigger alone account for ~5,160 Linux-equivalent minutes in this period.
What this changes
The spot-check includes skip pre-commit hooks (which are Linux tools) to keep duration minimal.
Why this is safe
ruruis a published PyPI library, so some cross-platform validation is genuinely useful. However, testing every Python version on every OS is excessive — any platform-specific bug will be caught by the spot-check on the latest Python version. Full Python version coverage continues on Linux where the package will be used in CI/CD and server environments.No functional changes
No source code, tests, or configuration is modified. This is a CI runner change only.