Refactor CI into composite actions and add release/publish workflows#395
Merged
blink1073 merged 7 commits intoCalysto:mainfrom Mar 19, 2026
Merged
Refactor CI into composite actions and add release/publish workflows#395blink1073 merged 7 commits intoCalysto:mainfrom
blink1073 merged 7 commits intoCalysto:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #395 +/- ##
=======================================
Coverage 90.28% 90.29%
=======================================
Files 51 51
Lines 2945 2946 +1
Branches 414 414
=======================================
+ Hits 2659 2660 +1
Misses 209 209
Partials 77 77
🚀 New features to boost your workflow:
|
This was referenced Mar 19, 2026
Merged
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.
References
Description
Refactors existing CI jobs into reusable composite actions and introduces new
releaseandpublishworkflows. The goal is to make these actions easy to extract into a dedicated repository under the calysto org that can be shared across projects. The actions assume the use of "uv" (and optionally "just", where the justfile, if given, has an "install" target).Changes
metakernel/__init__.pyto a static field inpyproject.toml; useimportlib.metadata.version()in__init__.py.github/actions/release/— composite action that bumps version, updates changelog, creates a GitHub release, and bumps to dev.github/actions/publish/— composite action that builds, inspects, and publishes the package to PyPI.github/actions/enforce-label/— composite action wrapping the enforce-label logic.github/actions/test-sdist/— composite action that downloads and tests the sdist artifact.github/workflows/release.yml— triggers release action onworkflow_dispatchor daily cron (dry run).github/workflows/publish.yml— builds and publishes to Test PyPI (on release) and PyPI (on release), skipped on forksenforce-label.ymlandtests.ymlto call the new composite actionsprep-release.yml,publish-changelog.yml,publish-release.ymlBackwards-incompatible changes
None
Testing
N/A
AI usage