Closed sfgeorge closed 7 years ago
@benlangfeld My bad - I failed to signal to you that I'm still having one minor issue with this branch. I will follow up very shortly with another related PR. Note: Because I took away Coveralls.wear!
, we're not posting to coveralls at this moment (Sorry!!)
The Goal: I want to have my cake and eat it too - to have Coveralls for CI + the SimpleCov html formatter for local test runs.
The Problem:
SimpleCov.start
generates an html report but does not kick off CoverallsCoveralls.wear!
with ENV["COVERALLS_RUN_LOCALLY"] = "true"
should run both Coveralls and the SimpleCov html formatter, but in practice I don't see coverage/index generated. Digging into why.
Fix code coverage by ensuring that
Coveralls.wear!
occurs before ruby_speech is loaded.https://coveralls.zendesk.com/hc/en-us/articles/201769485-Ruby-Rails