Repository navigation
Modernize CI and validate distributions before publishing - #14
Merged
Merged
Conversation
Code0x58
force-pushed
the
codex/modernize-ci-packaging
branch
from
October 18, 2026 15:02
9fb6bed to
09e2d98
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #14 +/- ##
=======================================
Coverage 95.83% 95.83%
=======================================
Files 1 1
Lines 144 144
=======================================
Hits 138 138
Misses 6 6 ☔ View full report in Codecov by Harness. |
This was referenced Oct 18, 2026
Code0x58
force-pushed
the
codex/modernize-ci-packaging
branch
from
October 18, 2026 15:13
09e2d98 to
9b8e1c4
Compare
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.
Requires Python 3.9+ consistently across package metadata, documentation, and CI. License metadata uses SPDX, with a compatible build backend and no redundant wheel build dependency.
CI builds the wheel and source distribution once, validates metadata strictly, and tests installations outside the checkout across CPython 3.9–3.15 and PyPy 3.11 on Linux, plus CPython on Windows. The release workflow runs the same validation before publishing the exact tested artifacts. Only the separate
pypienvironment job receives publishing identity permissions; the existingpublish.ymlTrusted Publisher identity is retained.Actions use current releases pinned to immutable commit SHAs, with weekly Dependabot updates. Codecov credentials are restricted to upload steps in a separate reporting job. Coverage and JUnit reports from both Linux and Windows are uploaded together so platform-specific behavior is counted. Reporting also runs after failed tests when reports are available.
Validation: actionlint, strict Twine checks, and local artifact installation tests on CPython 3.9/3.15 and PyPy 3.11. Hosted CI passes the build, all 15 interpreter/OS combinations, and report uploads.
This PR covers review findings 7 and 8.
Merge order for this stack:
Each PR targets its predecessor. Value validation and cycle detection are last. Merge in order; if squash-merging, rebase and retarget the remaining stack as each parent lands.