AI TrackerGet the app
← All news
GitHub CopilotCodingProducts

GitHub Code Quality adds a repository code coverage view in public preview

GitHub says GitHub Code Quality now has a Code coverage view for each repository, in public preview. It shows the percentage of source-code lines that tests execute.

  • Current coverage: line coverage for the default branch, from your latest coverage reports. When several reports are uploaded (one per language or test suite, for example), GitHub combines them and counts lines covered by more than one report once.
  • History: a line chart of default-branch coverage for the last 30 days, with 14-day and 90-day options. History updates once a day.
  • 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 does not block merges.

To use it, enable GitHub Code Quality for the repository and upload Cobertura XML coverage reports from the default branch. The view is available on GitHub Enterprise Cloud (including data residency) and GitHub Team, and not on GitHub Enterprise Server.

Get news like this as a push.

AI Tracker alerts you when something changes for the tools you use.

Get the app