GitHub Checks is meant to provide meaningful code coverage metrics as close to your workflow as possible. This is done by providing line-by-line coverage on your GitHub pull requests so you can access code coverage insights without leaving your code.
This feature is only available for Github users as it leverages Github Checks.
Notably, lines that you add on a commit without coverage, will show up in your pull request files view with an annotation.
You can always hide annotations in the Github Files view by unselecting "Show annotations" in the top right of the file.
This Github feature only hides annotations by file, not for the full pull request.
To see annotations, first, go to the
Checks tab under any pull request.
Look for a
patch status underneath the
To view coverage information in line with your code, click on the icon to the right side of the annotation.
Annotations can be disabled using a flag on the top-level section of the codecov.yml file.
github_checks: annotations: false
Note: If GitHub checks are disabled but statuses are still set up, normal status checks will be used instead.
Updated 14 days ago