International
The Morning Dev

Only the news worth knowing

‹
 

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

  1. Check that your coverage report is in Cobertura XML format before uploading it with the upload-code-coverage action.

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…

Timeline

  1. GitHub changelog announces that code coverage uploads now flag invalid report formats

  2. Archive: 2026 - GitHub Changelog

    Code coverage uploads now flag invalid report formats

How do you feel about this?

0 Comments