Skip to content

Reduce CI minutes: PR matrix is 3.12 only, skip doc-only changes - #117

Merged
aarmey merged 1 commit into
mainfrom
reduce-ci-minutes
Dec 2, 2026
Merged

aarmey merged 1 commit into
mainfrom
reduce-ci-minutes

Conversation

@aarmey

@aarmey aarmey commented Dec 2, 2026

Copy link
Copy Markdown
Member

Why

vsparse used ~812 billed Actions minutes in Nov 2026; CI averages 6–6.5 min, and the unit-test job runs a 3-version Python matrix on every PR push.

Changes

  • ci.yml: PRs run the unit tests on Python 3.12 only; pushes to main still run 3.12/3.13/3.14. Skip CI for changes touching only *.md / *.rst.
  • docs.yml: PR builds only when docs/**, src/**, pyproject.toml, uv.lock or the workflow change. Pushes to main still always build and deploy.

Notes

  • Newer-Python breakage (3.13/3.14) now surfaces after merge, on main, rather than on the PR.
  • No required status checks, so path filters won't block merging.
  • Unchanged: self-hosted benchmarks and cuda jobs, which still run on every PR push (not billed minutes, but they load the self-hosted runner; skipping doc-only changes now applies to them too).

🤖 Generated with Claude Code

@aarmey
aarmey merged commit 0234afd into main Dec 2, 2026
6 checks passed
@aarmey
aarmey deleted the reduce-ci-minutes branch December 2, 2026 15:05
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