codeclimate / ruby-test-reporter

DEPRECATED Uploads Ruby test coverage data to Code Climate

Home Page:https://codeclimate.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"No source files were found in the test report payload" on circleci

scottrobertson opened this issue · comments

Hey,

I noticed #32 but there does not seem to be a resolution in there.

I am getting the following (the coverage % is also wrong) on circleci. It works totally fine locally. Both running in exactly the same way: bundle exec rspec

Coverage = 100.0%. Code Climate encountered an exception: CodeClimate::TestReporter::InvalidPayload
No source files were found in the test report payload

Got it. I was loading the rails env before starting coverage. Sorted :)