chore: update codecov#141
Conversation
Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
WalkthroughThe Linux GitHub Actions workflow replaces an archival and separate Codecov upload with an inline transformation step that processes coverage from tests/coverage-ci, writes tests/coverage-ci/summary.txt, and uploads that path to Codecov within the same workflow. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant GH as GitHub Actions (linux.yml)
participant Build as Build & Test
participant Transform as Transform Coverage
participant Codecov as Codecov Uploader
Dev->>GH: Push/PR triggers workflow
GH->>Build: Run tests and generate coverage (tests/coverage-ci)
GH->>Transform: Process coverage and write summary.txt
note right of Transform: Outputs tests/coverage-ci/summary.txt
GH->>Codecov: Upload coverage from tests/coverage-ci
Codecov-->>GH: Report upload result
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull Request Overview
This PR fixes Codecov integration by consolidating the coverage report generation and upload into a single job instead of using separate jobs with artifact upload/download.
- Removes the separate
codecovjob and integrates coverage upload directly into the test job - Eliminates the artifact upload/download step that was causing issues
- Updates the file path in the codecov action to correctly reference the generated summary file
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #141 +/- ##
===========================================
+ Coverage 0 47.14% +47.14%
===========================================
Files 0 10 +10
Lines 0 1754 +1754
===========================================
+ Hits 0 827 +827
- Misses 0 860 +860
- Partials 0 67 +67 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Reason for This PR
Description of Changes
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the MIT license.
PR Checklist
[Author TODO: Meet these criteria.][Reviewer TODO: Verify that these criteria are met. Request changes if not]git commit -s).CHANGELOG.md.Summary by CodeRabbit