debian-mirror-gitlab/scripts/merge-simplecov

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

12 lines
314 B
Text
Raw Permalink Normal View History

2016-09-13 17:45:13 +05:30
#!/usr/bin/env ruby
2021-03-11 19:13:27 +05:30
# frozen_string_literal: true
2016-09-13 17:45:13 +05:30
require_relative '../spec/simplecov_env'
SimpleCovEnv.configure_profile
2020-07-28 23:09:34 +05:30
SimpleCovEnv.configure_formatter
2016-09-13 17:45:13 +05:30
2022-06-21 17:19:12 +05:30
resultset_files = Dir.glob(File.join(SimpleCov.coverage_path, '*', '.resultset.json'))
exit(0) if resultset_files.empty?
SimpleCov.collate(resultset_files)