-
Notifications
You must be signed in to change notification settings - Fork 452
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 code coverage github action #320
Conversation
Codecov Report
@@ Coverage Diff @@
## master #320 +/- ##
=========================================
Coverage ? 41.11%
=========================================
Files ? 73
Lines ? 8615
Branches ? 0
=========================================
Hits ? 3542
Misses ? 5073
Partials ? 0 Continue to review full report at Codecov.
|
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 👍
Want to see if I can get the otlp/prometheus exporters in here too, something about grpcio is having issues with the coverage flags. If not can get things started here and improve in subsequent PRs. |
CARGO_INCREMENTAL: '0' | ||
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' | ||
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' | ||
- uses: actions-rs/[email protected] |
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.
We could use the latest version of grcov here - v0.1.5
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.
Looks like this is the latest? (v0.1 is pointing at same as v0.1.6) https://github.com/actions-rs/grcov/tags
Ok going to merge this for now to get a coverage baseline. |
Pull out nightly tests into a new CI run that includes test coverage using
grcov
andcodecov
Resolves #318