GitHub coverage uploads now flag unsupported report formats
Brief
GitHub Code Quality now reports unsupported coverage formats as workflow failures and is more tolerant of minor issues in valid Cobertura reports.
What changed
- The upload-code-coverage action requires Cobertura XML; other formats fail the upload step with an error shown in the Actions log.
- Configure your test framework to output Cobertura XML or convert the report before uploading.
- Valid Cobertura reports with minor structural issues are no longer rejected; lines without a usable line number or hit count are skipped.
Availability
- Available now on GitHub Enterprise Cloud and GitHub Team, including Enterprise Cloud with data residency; not available on GitHub Enterprise Server.
- Code coverage requires GitHub Code Quality to be enabled for the repository.
Generated by AI from the original article. Check the source for full details.