Skip to content

Test every push and pull request, and publish a GitHub release per tag - #14

Merged
Piergiuseppe merged 4 commits into
mainfrom
chore/ci-on-push-and-releases
Nov 14, 2026
Merged

Piergiuseppe merged 4 commits into
mainfrom
chore/ci-on-push-and-releases

Conversation

@Piergiuseppe

@Piergiuseppe Piergiuseppe commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

What changes

  • The test, free-threaded and build jobs run on every pull request, and on every push to main that touches more than the docs. Public repositories run on GitHub-hosted runners for free, so this costs no Actions minutes.
  • A final ci-passed job reports one check that fails unless the build succeeded, and the build only runs once every test job has passed. That single check is the one main requires before a merge, so adding a Python version to the matrix needs no change to the ruleset. A skipped job counts as passed for a required check, so ci-passed always runs and tests the build result itself.
  • PyPI publishing still happens only from a v* tag, and the tag is checked against tinyjobs.__version__ only there.
  • After PyPI, a new job creates the GitHub release for the tag, with notes generated from the merged pull requests.
  • A newer run on a branch or pull request cancels the one it supersedes; a tag run is never cancelled.

Notes

@Piergiuseppe
Piergiuseppe merged commit 8704219 into main Nov 14, 2026
12 checks passed
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