codecov / engineering-team

This is a general repo to use with GH Projects
1 stars 1 forks source link

The simplecov-jason-formatter Ruby gem suggested by SimpleCov generates reports that are incompatible with Codecov #2077

Open drazisil-codecov opened 3 months ago

drazisil-codecov commented 3 months ago

The simplecov-jason-formatter Ruby gem suggested by SimpleCov generates reports that are incompatible with Codecov

The simplecov-cobertura gem still works correctly

We need to analyze and update our report processors to support the simplecov-json-formatter, or blocklist it at the CLI and make it clear why reports are failing to process.

eliatcodecov commented 3 months ago

This is likely due to a recent change from simplecov to start recommending the json formatter as the default. It's likely worth our time to support whatever default format simplecov is recommending.

Alternatively, we can just update our docs on simplecov to recommend using cobertura over the default. Longer term we can attempt to fix this bug directly.

rohan-at-sentry commented 2 months ago

Docs updated here https://docs.codecov.com/docs/supported-report-formats#ruby

thomasrockhu-codecov commented 1 week ago

Relevant ticket on branch coverage https://github.com/codecov/engineering-team/issues/2113