GitHub ships a native code coverage dashboard, in public preview
Repositories with GitHub Code Quality enabled now get a coverage percentage, a trend chart and a configurable target, right on the repo page.
GitHub added a repository code coverage view on 4 December, in public preview. It shows the line coverage percentage for your default branch based on the latest coverage reports, alongside a trend chart you can switch between 14, 30 and 90 days.
Repository admins and maintainers can also set a coverage target, which shows on the page for reference. The target is for display only and does not block merges. The feature builds on GitHub Code Quality: you still upload Cobertura XML reports, one per language or test suite, to populate it. It is available on GitHub Enterprise Cloud and GitHub Team, including data residency, but not on GitHub Enterprise Server.
Why it matters: this is the first time coverage trends have lived on the repo page itself rather than in a separate tool like Codecov or Coveralls. If you already upload Cobertura reports for the upload validation GitHub shipped in November, you get this view for free, no extra setup.
The caveat: a target with teeth, one that actually blocks a merge below some coverage percentage, is not what this ships. It is a number on a page, not a gate.