Release
Code coverage uploads now flag invalid report formats
GitHub Changelog · By Allison ·
The Brief
- The GitHub Code Quality upload-code-coverage action now checks that coverage reports are in Cobertura XML format.
- If the report is not in a supported format, the upload step fails.
- The Actions log shows the error: "This file is not a Cobertura XML report. Upload a Cobertura XML…"
Why it matters
Coverage uploads that used an unsupported report format will now fail with a clear error instead of passing silently, so pipelines relying on them need a Cobertura XML report.
Who’s affected
- Teams using the GitHub Code Quality upload-code-coverage action
What to do
- Check that your coverage report is in Cobertura XML format before uploading it with the upload-code-coverage action.
- #github
- #code-coverage
- #github-actions
- #ci
- #code-quality
The GitHub Code Quality upload-code-coverage action now checks that your coverage report is in Cobertura XML format. If it isn’t in a supported format, the upload step fails and the Actions log shows this error: This file is not a Cobertura XML report. Upload a Cobertura XML…