Skip to content

Conversation

codeZeilen
Copy link

@codeZeilen codeZeilen commented Aug 18, 2025

As the codecov API has changed, direct uploads to codecov are currently somewhat flaky and might stop working in the future altogether when the old API endpoints are deactivated. A current workaround is using to_cobertura to generate a file and then upload it using the codecov action, which however introduces the xml2 dependency (e.g. used in #584 and #568).

This PR proposes to_simple_codecov to solve this in a simpler way. The function returns the very simple Codecov custom format (also seems similar (but not the same) to the existing codecov format). By writing this to a file we can upload the report via the GH action (on other services via the CLI) and do not have to worry about the API version anymore.

A codecov report based on a report file from to_simple_codecov can be found here.

This is very much a first proposal only and the question, whether you find this useful, so no documentation and tests yet.

@CLAassistant
Copy link

CLAassistant commented Aug 18, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants