gitlab-org--gitlab-foss/scripts/merge-simplecov

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
314 B
Plaintext
Raw Normal View History

2016-06-30 14:08:01 +00:00
#!/usr/bin/env ruby
# frozen_string_literal: true
2016-06-30 14:08:01 +00:00
require_relative '../spec/simplecov_env'
SimpleCovEnv.configure_profile
SimpleCovEnv.configure_formatter
2016-06-30 14:08:01 +00:00
resultset_files = Dir.glob(File.join(SimpleCov.coverage_path, '*', '.resultset.json'))
exit(0) if resultset_files.empty?
SimpleCov.collate(resultset_files)