update coverage workflow#244
Conversation
|
@ar3s3ru how attached are you to the |
Codecov ReportBase: 78.60% // Head: 87.15% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #244 +/- ##
==========================================
+ Coverage 78.60% 87.15% +8.54%
==========================================
Files 18 18
Lines 589 1160 +571
==========================================
+ Hits 463 1011 +548
- Misses 126 149 +23
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
ar3s3ru
left a comment
There was a problem hiding this comment.
Hey @danieleades, welcome back!
Not particularly attached to any specific format.
However, couple of things:
- I would stay on
stableto generate coverage; if a tool does not work on stable, I don't think we should use it yet honestly, cargo-tarpaulinis still pretty active, and seems to me a more stable project thancargo-llvm-cov(also, supportsllvmbackend); any specific reason to change to that solution? I may be missing some context (not very active in the overall Rust ecosystem).
I don't think there's any reason to avoid using the nightly compiler in CI. If you're really worried you can pin to a specific version of the nightly compiler. What problems are you trying to avoid by not using the nightly compiler in CI?
llvm-cov is a much simpler implementation, has been stable for years. Anecdotally it produces much more accurate coverage information. Tarpaulin does now support the LLVM-based coverage, but this is brand spanking new (as in, in the last couple of months. the tracking issue is still open). |
So I honestly prefer making coverage running in In the case of And thank you for the context on Tarpaulin. Seems like I have some digging around to do to get more context. I'll get back to this PR once I do that. |
It sounds like pinning to a specific nightly version might be the most appropriate solution
That's true, but there's also a massive amount of clippy warnings about the lack of documentation...
no worries. My own experience with tarpaulin is that it works, and the maintaineris very responsive, but it relies on a lot of undocumented or unspecified cargo/rustc features and is therefore very brittle. |
|
Seems like Would you be ok to change to If you cannot make the change, I hope it's ok if I make the change myself and merge the PR 😄 |
llvm-covis better maintained, and supports doc-tests coverage