Repository navigation
ci: split the workflow into lint, test and build jobs - #21
Merged
Merged
Conversation
Lint runs once on ubuntu, tests run on the OS x Python matrix and the distribution is built once, chained with needs so a failing stage stops the next ones.
The workflow no longer runs it; contributors run lint and test directly.
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.
🧑💻What is the change being made?
lint: ubuntu,uv run poe lint.test(needs: lint): ubuntu/macOS/Windows x Python 3.12 to 3.15,uv run poe test.build(needs: test): ubuntu/Python 3.12,uv build, uploads thedistartifact.poe citask and pointCONTRIBUTING.mdatpoe lintandpoe test.❓ Why is the change being made?
Lint ran on all 12 matrix jobs although its result doesn't depend on the OS or Python version, and
the package was built 12 times for a single upload. Separate jobs show which stage failed, and the
chain stops early: a lint error skips the test matrix, a test failure skips the build. The release
workflow calls
ci.yml, sodistis still only published after lint and tests pass. With CI nolonger using
poe ci, the task only duplicatedlint+test.✅ How has this been tested?
By the CI run of this pull request.
uv run poe --helplists the remaining tasks.📚 How has this been documented?
CONTRIBUTING.mdlists the commands to run before opening a pull request.🔗 Related Issues
None.