Repository navigation
adds all green action to run-test - #101
Conversation
|
I added cronographer skip label, let me know if you prefer a changelog entry. As is only a secondary CI action I think is not needed. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #101 +/- ##
=======================================
Coverage 91.28% 91.28%
=======================================
Files 19 19
Lines 3257 3257
Branches 38 38
=======================================
Hits 2973 2973
Misses 273 273
Partials 11 11
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
[Medium impact] The change reaches CI status reporting for this repository's test workflow. Add Reviews (1) · Last reviewed commit: "adds all green action to run-test" · Reviewed by Greptile |
| needs: | ||
| - ruff | ||
| - mypy | ||
| - build | ||
| - build-uv | ||
| - build-musllinux | ||
| - resource-leaks |
There was a problem hiding this comment.
Coverage failures allow merging
The new check job leaves out coverage, which builds with --with-coverage and runs tests with --asyncio-debug on three operating systems. If branch protection requires only check, a failure in that build or those tests will not block merging when the listed jobs pass. Add coverage to needs.
| needs: | |
| - ruff | |
| - mypy | |
| - build | |
| - build-uv | |
| - build-musllinux | |
| - resource-leaks | |
| needs: | |
| - ruff | |
| - mypy | |
| - coverage | |
| - build | |
| - build-uv | |
| - build-musllinux | |
| - resource-leaks |
Merging this PR will not alter performance1 warning
Comparing |
|
Thank you! |
What do these changes do?
Add an alls-green action, so can be used on branch protection rules. #84
I skipped benchmark and coverage from the all-green action, to be aligned with most of the aio-libs project, allowing to merge even if they are red.
Are there changes in behavior for the user?
No change, it will just report the status until the brnach protection is used. After there will be changes only for contributors, not for final users
Is it a substantial burden for the maintainers to support this?
No, this should simplify repo management.
Related issue number
#84
Checklist
docs/changelog.d/folder<issue_id>.<category>.mdfor example (86.contrib.md)issue_idchange it to the pr id after creating the prbugfix: Signifying a bug fix.feature: Signifying a new feature.deprecation: Signifying a declaration of future removals and breaking changes in behavior.breaking: Signifying a breaking change or removal of something public.doc: Signifying a documentation improvement.packaging: Signifying a packaging or tooling change that may be relevant to downstreams.contrib: Signifying an improvement to the contributor/development experience.misc: Anything that does not fit the above; usually, something not of interest to users.Explain high-level effects affecting the end-users, for example:
"Test runner no longer crashes when loading non-ASCII contents in doctest text files."