Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for cc-test-reporter with SimpleCov 0.18 #2044

Merged

Conversation

koic
Copy link
Member

@koic koic commented Jun 8, 2020

Closes #2043.

This PR fixes the following build error when using cc-test-reporter with SimpleCov 0.18.

Run export GIT_BRANCH="${GITHUB_REF/refs\/heads\//}"
Error: json: cannot unmarshal object into Go struct field input.coverage
of type []formatters.NullInt
Usage:
  cc-test-reporter after-build [flags]

(snip)

Global Flags:
  -d, --debug   run in debug mode

##[error]Process completed with exit code 255.

https://github.com/faker-ruby/faker/pull/2043/checks?check_run_id=750522010

This patch is a workaround until the following issue will be resolved.
codeclimate/test-reporter#418

@Zeragamba
Copy link
Contributor

We can probably hold out on updating simplecov till the test-reporter is updated. We can manually trigger re-runs of the tests from Dependabot's PR's checks Page

@koic koic force-pushed the workaround_for_cc_test_reporter_with_simplecov branch from bb83f68 to 57f01b0 Compare June 11, 2020 04:43
@koic
Copy link
Member Author

koic commented Jun 11, 2020

Thanks for your suggestion. OTOH, the source code comment for gemspec explains why the version is pinned, so I think it's clear when maintainers can unpin it. What do you think about it?

@koic koic force-pushed the workaround_for_cc_test_reporter_with_simplecov branch 2 times, most recently from 1d9d0c3 to 1aab78c Compare July 8, 2020 06:41
@koic koic force-pushed the workaround_for_cc_test_reporter_with_simplecov branch from 1aab78c to 1f378b8 Compare March 1, 2021 01:46
Closes faker-ruby#2241.

This PR fixes the following build error when using cc-test-reporter with
SimpleCov 0.18.

```console
Run export GIT_BRANCH="${GITHUB_REF/refs\/heads\//}"
Error: json: cannot unmarshal object into Go struct field input.coverage
of type []formatters.NullInt
Usage:
  cc-test-reporter after-build [flags]

(snip)

Global Flags:
  -d, --debug   run in debug mode

##[error]Process completed with exit code 255.
```

https://github.com/faker-ruby/faker/pull/2043/checks?check_run_id=750522010

This patch is a workaround until the following issue will be resolved.
codeclimate/test-reporter#418
@koic koic force-pushed the workaround_for_cc_test_reporter_with_simplecov branch from 1f378b8 to 60988bb Compare March 14, 2021 06:01
@koic
Copy link
Member Author

koic commented Mar 14, 2021

I'm going to merge this patch because the issue is still unlikely to be resolved.

@koic koic merged commit 5c837d8 into faker-ruby:master Mar 14, 2021
@koic koic deleted the workaround_for_cc_test_reporter_with_simplecov branch March 14, 2021 06:05
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.

None yet

2 participants