depend on success for coverage upload#854
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdjusts GitHub Actions workflows so that coverage upload jobs only run when their dependent test jobs succeed, rather than always running. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Pull request overview
This PR updates the GitHub Actions CI workflows so coverage upload jobs run only when their dependent test jobs succeed, rather than running unconditionally.
Changes:
- Frontend: gate the
upload-coveragejob on thelint-test-frontendjob succeeding. - Backend: gate the
upload-coveragejob on thetest-backendjob succeeding.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/tests-frontend.yaml | Adjusts the frontend coverage upload job condition to run only on successful lint/test. |
| .github/workflows/tests-backend.yaml | Adjusts the backend coverage upload job condition to run only on successful tests. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project check has failed because the head coverage (73.44%) is below the target coverage (85.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #854 +/- ##
=======================================
Coverage 73.44% 73.44%
=======================================
Files 154 154
Lines 7562 7562
Branches 662 662
=======================================
Hits 5554 5554
Misses 1788 1788
Partials 220 220 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Co-authored-by: Claude <noreply@anthropic.com>
Summary by Sourcery
Restrict coverage upload jobs in CI workflows to run only when their dependent test jobs succeed.
CI: