ci: reduce runner costs — Linux-first matrix with targeted cross-platform spot-checks - #435
Closed
harell wants to merge 1 commit into
Closed
ci: reduce runner costs — Linux-first matrix with targeted cross-platform spot-checks#435harell wants to merge 1 commit into
harell wants to merge 1 commit into
Conversation
|
Contributor
|
@harell this is a bug in your automation - GitHub Actions usage is free on Open Source repos like |
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 (94.70% 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 the highest-volume cost contributor, with 93 workflow runs recorded since January 2026.What the current setup costs
The CI matrix runs 2 Python versions × 3 operating systems = 6 cross-platform jobs per push, plus 5 ubuntu-only include jobs — ~11 jobs total per trigger.
GitHub charges hosted runner minutes at:
ubuntu-latestwindows-latestmacos-latestWith 93 runs, 2 macOS jobs per trigger at ~3 min each = ~5,580 Linux-equivalent minutes for macOS alone.
What this changes
["3.10","3.14"]× 3 OS["3.10","3.14"]× Linux onlyThe spot-check jobs set
checks: "false"to skip pre-commit/pyright on Windows/macOS (those checks are already verified on Linux and not meaningful cross-platform).Why this is safe
rastris a published PyPI library — cross-platform validation is genuinely valuable. This change preserves it: a platform-specific packaging, import, or runtime bug in Python 3.14 will still be caught by the spot-checks. Full Python version coverage (3.10–3.14) continues on Linux. The old approach of testing every Python version on every OS provides diminishing returns in exchange for significant cost.No functional changes
No source code, tests, or configuration is modified. This is a CI runner change only.