GitHub Code Quality now has a Code coverage view for each repository, in public preview. Code coverage measures the percentage of reported source-code lines that your tests execute. In your repository's Code Quality area, go to Code coverage to see your current coverage, how it's changed over time, and how it compares with a coverage target. What's in the view Current coverage: The line coverage percentage for your default branch, based on your latest coverage reports. If you upload more than one report, for example one per language or test suite, we combine them and count lines covered by more than one report once. Coverage history: A line chart of default-branch line coverage for the last 30 days, with 14-day and 90-day options. History updates once a day. Coverage target: Repository admins and maintainers can set a target for overall default-branch line coverage, and anyone who can see Code Quality results can view it. The target is for display only and doesn't block merges. Get sta…
Original text(via GitHub Changelog)
GitHub Code Quality now has a Code coverage view for each repository, in public preview. Code coverage measures the percentage of reported source-code lines that your tests execute. In your repository's Code Quality area, go to Code coverage to see your current coverage, how it's changed over time, and how it compares with a coverage target.
What's in the view
Current coverage: The line coverage percentage for your default branch, based on your latest coverage reports. If you upload more than one report, for example one per language or test suite, we combine them and count lines covered by more than one report once.
Coverage history: A line chart of default-branch line coverage for the last 30 days, with 14-day and 90-day options. History updates once a day.
Coverage target: Repository admins and maintainers can set a target for overall default-branch line coverage, and anyone who can see Code Quality results can view it. The target is for display only and doesn't block merges.
Get started
To use the view, enable GitHub Code Quality for your repository and upload Cobertura XML coverage reports from your default branch. Learn more about viewing code coverage for your repository.
The code coverage view is available in public preview on GitHub Enterprise Cloud and GitHub Team, including GitHub Enterprise Cloud with data residency. It isn't available on GitHub Enterprise Server.
social
The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.
Published by GitHub Changelog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.