-
Notifications
You must be signed in to change notification settings - Fork 417
ci: replace grcov by cargo-llvm-cov #1986
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
ci: replace grcov by cargo-llvm-cov #1986
Conversation
evanlinjin
left a comment
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.
ACK d6a19fc
Thank you for looking into this and describing the problem in detail.
d6a19fc to
1b1dade
Compare
1b1dade to
066c4cd
Compare
|
I replaced |
oleonardolima
left a comment
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.
ACK 066c4cd
Stolen from nymius's [pr](bitcoindevkit/bdk#1986) on bitcoindevkit/bdk regarding the same.
Stolen from nymius's [pr](bitcoindevkit/bdk#1986) on bitcoindevkit/bdk regarding the same.
|
ACK 066c4cd |
066c4cd ci: replace grcov by cargo-llvm-cov (nymius) Pull request description: ### Description As explained in bitcoindevkit#1984 , I discovered some misreportings in the coverage information given by grcov. Fixes bitcoindevkit#1984 ### Notes to the reviewers The discussion about the tool to use is open, but I'm adding this PR to showcase how a change from `grcov` to `cargo-llvm-cov` would look like and the improvements in reporting this change will bring. [Look the report in `coveralls`](https://coveralls.io/github/nymius/bdk?branch=ci/replace-grcov-by-cargo-llvm-cov) to get a better perspective of them. ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo +nightly fmt` and `cargo clippy` before committing ACKs for top commit: ValuedMammal: ACK 066c4cd oleonardolima: ACK 066c4cd Tree-SHA512: d237fcc36efb6a4d3ccfaa371c2c70fc18ee40b48ca48f1230c5df6dca093f57bc1096927ddb15f9cae59a4640d9e34bf3ef1a309037e21fe0e8348e132bf38d
Description
As explained in #1984 , I discovered some misreportings in the coverage information given by grcov.
Fixes #1984
Notes to the reviewers
The discussion about the tool to use is open, but I'm adding this PR to showcase how a change from
grcovtocargo-llvm-covwould look like and the improvements in reporting this change will bring. Look the report incoverallsto get a better perspective of them.Checklists
All Submissions:
cargo +nightly fmtandcargo clippybefore committing