-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add codecov.yml to ensure adequate patch coverage #116
Conversation
Codecov Report
@@ Coverage Diff @@
## main #116 +/- ##
=======================================
Coverage 77.87% 77.87%
=======================================
Files 6 6
Lines 330 330
=======================================
Hits 257 257
Misses 73 73 📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today! |
30c4e0f
to
d8478f3
Compare
d8478f3
to
2079f51
Compare
2079f51
to
eab4449
Compare
build-container job is failing due to a Trivy scan stemming from CVE-2023-45142. Attempting to fix that in another PR #117 |
eab4449
to
a720f04
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.
LGTM
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.
Please add explanation to the commit comment why are go.mod & go.sum changed.
This sets the minimum patch coverage required for changes to repo to 75%. There was a discrepancy between the Go version in go.mod and the go version in github actions workflow. This change also alleviates that discrepancy by changing the Go version in both to the latest Go version (v1.21).
a720f04
to
eb1b7ee
Compare
✅ None of your dependencies violate policy! |
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.
LGTM
This sets the minimum patch coverage required for changes to repo to 75%.
Existing code coverage is currently ~77% which is slightly above 75%.
There was a discrepancy between the Go version in go.mod
and the go version in github actions workflow. This change also
alleviates that discrepancy by changing the Go version in both to
the latest Go version (v1.21).
How has this been tested?
Added a dummy change to this PR that drops the overall coverage and has no patch coverage. this caused two failures (overall coverage drop & patch coverage below threshold).
Then removed the offending piece of dummy change and observed the codecov checks pass.