GitHub Code Coverage Uploads Now Enforce Cobertura XML Format
The GitHub upload-code-coverage action will now fail uploads with unsupported report formats, flagging the error directly in the Actions log. The change increases clarity and reliability for developers using code quality workflows on GitHub Enterprise Cloud and GitHub Team.
What changed?
The GitHub Code Quality upload-code-coverage action now verifies that uploaded coverage reports are in the Cobertura XML format. If a report is not in a supported format, the upload step fails and an error is clearly shown in the Actions log. Previously, uploads with unsupported formats continued without visible errors, but no coverage information appeared in pull requests. The action is also now more tolerant of minor structural issues within valid Cobertura reports and skips problematic lines instead of rejecting the entire report.

Why does it matter to an everyday developer?
This update provides immediate feedback when a coverage report is in an unsupported format, preventing silent failures. Developers are now alerted early in the workflow, allowing them to fix misconfigurations without wasting time diagnosing missing coverage reports. The improved leniency for minor report issues also reduces disruptions from inconsequential formatting problems. This change is effective on GitHub Enterprise Cloud and GitHub Team, but does not affect GitHub Enterprise Server.
What can the developer do now?
If your test suite does not output Cobertura XML coverage reports, update your test configuration or use a converter to ensure your reports are in the supported format. Review any new upload failures in the Actions log to identify format issues. Developers can also benefit from the action's greater tolerance of small report structure problems, requiring less manual cleanup of coverage output. No action is required for GitHub Enterprise Server users, as this update does not apply to that platform.

