-
Notifications
You must be signed in to change notification settings - Fork 2
Upload test result to Codecov #320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request adds test result upload functionality to Codecov by integrating the go-junit-report tool to convert Go test output into JUnit XML format, which is then uploaded to Codecov alongside coverage reports.
- Adds
go-junit-report/v2as a Go tool dependency for generating JUnit XML test reports - Modifies CI workflow to capture test output, convert to JUnit format, and upload to Codecov
- Updates Codecov badge URL by removing the token parameter
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Adds go-junit-report/v2 as both an indirect dependency and a Go tool |
| go.sum | Includes checksums for go-junit-report/v2 and updated google/go-cmp dependency |
| .github/workflows/ci.yml | Captures test output to log file, generates JUnit XML report, and uploads both coverage and test results to Codecov |
| README.md | Simplifies Codecov badge URL by removing the token parameter |
| .gitignore | Adds report.xml to ignore list for generated test artifacts |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
fc43a22 to
699df87
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #320 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 21 21
Lines 963 963
=========================================
Hits 963 963 ☔ View full report in Codecov by Sentry. |
b1a0bc3 to
9cfe17d
Compare
9cfe17d to
4ebdb0d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 4 out of 6 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
4ebdb0d to
24195eb
Compare
No description provided.