Revamp CI: branching flow, updated actions, preview/release publishing#2
Merged
shankarpandala merged 1 commit intomainfrom Feb 28, 2026
Conversation
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.
Motivation
Description
.github/workflows/ci.ymlwith a new workflow that triggers onpush,pull_request, andworkflow_dispatchformain,dev,qa, andreleasebranches and addedpermissions: contents: read.3.13, setfail-fast: false, and upgraded actions toactions/checkout@v4andactions/setup-python@v5while updatingcodecovtov4.publish-previewjob that runs on pushes toqa, sets a preview.dev<run_number>version inpyproject.toml, builds, and uploads to TestPyPI using theTEST_PYPI_API_TOKENsecret.publish-releasejob that runs on pushes torelease, builds, and publishes to PyPI withPYPI_API_TOKEN, and added alintjob pinned to Python3.13runningflake8,black --check, andmypy.docs/DEVELOPMENT.mdto document the branching and promotion flow, CI publishing behavior, and required repository secrets.Testing
pytest --cov=pdf_splitter, linting withflake8,black --check, andmypy, and coverage upload viacodecov; no CI run results are included in this PR.publish-previewandpublish-releaseare gated by branch and event conditions and require repository secrets to run.Codex Task