Closed ThomasKoppensteiner closed 2 years ago
This looks like an upstream issue, and would be better suited as an issue here – https://github.com/codeclimate/test-reporter/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
To verify this, you can try this out yourself by following the quick guide here – https://docs.codeclimate.com/docs/configuring-test-coverage#quick-guide
@paambaati you were right, the issue was not related to codeclimate-action
, but rather to https://github.com/codeclimate/test-reporter/issues/413 and https://github.com/codeclimate/test-reporter/issues/418.
In the end I needed to require simplecov_json_formatter
manually, when using simplecov
>= 0.21
.
For details: https://github.com/simplecov-ruby/simplecov#json-formatter
My changes: https://github.com/ThomasKoppensteiner/sidekiq-undertaker/pull/68
Describe the bug Uploading the code-coverage report fails with
Error: json: cannot unmarshal object into Go struct field resultSet.coverage of type []formatters.NullInt
.Version of
codeclimate-action
you're usingv3.0.0
Example links Failing Github Actions Run Example Pull Request
Expected behavior Uploading the code-coverage report should work with all versions of
codeclimate-action
.Additional context Works with version
v2.7.1
, but fails with versions above (like:v3.0.0
).