spec/spec_helper.rb in codacy-coverage-0.0.1 vs spec/spec_helper.rb in codacy-coverage-0.1.0
- old
+ new
@@ -1,8 +1,9 @@
require 'simplecov'
class InceptionFormatter
def format(result)
+ ENV["CODACY_RUN_LOCAL"] = 'true'
Codacy::Formatter.new.format(result)
end
end
SimpleCov.formatter = InceptionFormatter