-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 48 replies
-
|
Hey @pboling thanks for your message. Could you point me to a specific repo that is having this issue so we can better investigate? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
@spalmurray So far what I have discovered is that CodeCov is incompatible with the current JSON coverage format producted by the current best JSON formatter for simplecov: https://rubygems.org/gems/simplecov_json_formatter With a JSON-format coverage file in my coverage/ dir: Without a JSON-format coverage file in my coverage/ dir (using LCOV, RCOV, or XML instead): The lesson for us users: Turn off JSON coverage in CI if you want to use CodeCov. My kettle-soup-cover gem allows you to turn any format on/off at will via an ENV variable. NOTE: In my marked answer I had previously found that I needed to turn off HTML in order for CodeCov to work. It is now necessary to turn off both HTML and JSON formats. |
Beta Was this translation helpful? Give feedback.




That fixed it!
It seems particularly wild that codecov is somehow not compatible with the default format, but I am now very happy with my decision to build kettle-soup-cover! I turned off HTML, and now it works great.
I look forward to hearing about the further fixes going forward, but I'm elated to have a workaround.