Upload code coverage to codecov.io#168
Merged
josecelano merged 1 commit intotorrust:developfrom Apr 12, 2023
Merged
Conversation
a37ad1a to
e0761c4
Compare
Codecov Report
@@ Coverage Diff @@
## develop #168 +/- ##
==========================================
Coverage ? 89.42%
==========================================
Files ? 71
Lines ? 7540
Branches ? 0
==========================================
Hits ? 6743
Misses ? 797
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I want to get nicer reports for the code coverage.
We are already generating a report like this:
but I also want to:
I'm testing integration with https://about.codecov.io/. This is the report I get:
https://app.codecov.io/github/josecelano/torrust-tracker/tree/setup-codecov
But I think the most helpful feature is to know if the code in a PR increases or decreases de coverage.
By the way, I'm not obsessed with code coverage. I think we should cover critical behaviour (important for the user) and not just code lines. But I think a tool like this can make it more visible when we need to cover some critical parts of the application.