-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Line 80 in d860ac5
| # Codeclimate is not compatible with 0.18+. See https://github.com/codeclimate/test-reporter/issues/413 |
Hey, I'm Camillo from CodeClimate, I'm reaching out about the ZenDesk ticket created here, and I would be glad to help with your issue.
I took a look at your failed job in CircleCI and I realized that you may be missing a setting in your yml.
The trick here is to set CC_TEST_REPORTER_ID at the moment SimpleCov is being run, meaning setting for both bundle exec rake and the CodeClimate action. (in your setting file you had it only in the latter)
As you can see in the simplecov ReadMe JSON formatter section, there is a comment explaining that SimpleCov will automatically use the JSON formatter along with the HTML formatter when the CC_TEST_REPORTER_ID variable is present in the environment.
Newer versions need that JSON formatter to work. You may find more context about this in this comment.
Please let me know if this works for you 😄