Skip to content
Snippets Groups Projects
Commit eed5a69a authored by Markus Reiter's avatar Markus Reiter
Browse files

Try fixing coverage.

parent 4944d43d
No related branches found
No related tags found
No related merge requests found
require "find"
require "parallel_tests"
require "pathname"
require "rspec/its"
require "rspec/wait"
......@@ -10,16 +9,7 @@ if ENV["HOMEBREW_TESTS_COVERAGE"]
if ENV["CODECOV_TOKEN"] || ENV["TRAVIS"]
require "codecov"
if ParallelTests.last_process?
at_exit do
ParallelTests.wait_for_other_processes_to_finish
puts "Sending coverage report to CodeCov …"
formatter = SimpleCov::Formatter::Codecov.new
formatter.format SimpleCov::ResultMerger.merged_result
end
end
SimpleCov.formatter = SimpleCov::Formatter::Codecov
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment