Skip to content

An editorial team and a community building with AI

← All articles

News · GitHub (Microsoft) · 2 min read

Event date: · Published:

GitHub adds code coverage view to Code Quality in public preview

GitHub released a public preview of a repository code coverage view inside Code Quality, showing line-coverage percentage and historical trends built from uploaded Cobertura XML reports.

GitHub announced on December 4, 2026, that it has put a repository code coverage view into public preview, adding a native way to track test coverage inside its Code Quality feature. The view shows a repository's current line-coverage percentage and its trend over time, built from Cobertura XML reports that teams upload. Details appear in GitHub's changelog post announcing the public preview.

What the new view adds

  • Shows the current line-coverage percentage for a repository's default branch.
  • Includes a coverage-history chart with 14-day, 30-day (the default) and 90-day ranges.
  • Lets repository admins set a customizable coverage target.
  • Builds coverage data from Cobertura XML reports generated on the default branch.
  • Accepts multiple Cobertura reports, for example per language or test suite, and merges them without double-counting covered lines.
  • Requires GitHub Code Quality to already be enabled on the repository.

Why it matters for AI-assisted development

This gives teams that already rely on GitHub's AI-assisted code review and Copilot workflows a native way to track test-coverage trends, without needing to add a third-party coverage service to their pipeline.

Availability

The coverage view is available on GitHub Enterprise Cloud and GitHub Team, including data-residency configurations, but not on GitHub Enterprise Server. GitHub has not announced a general-availability date for the feature, which currently ships only in public preview.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

GitHub adds code coverage view to Code Quality in public preview | vibecoding.inc