Sha256: 12e13c00270b33613eff9849434af662107b7ab128a7ec77a33dc457755de7cf
Contents?: true
Size: 745 Bytes
Versions: 1
Compression:
Stored size: 745 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: true # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. namespace :coverage do desc "Collates all result sets generated by the different test runners" task :report do require 'simplecov' require 'simplecov_json_formatter' unless ENV['CI'] puts 'This task is intended to be run only on the CI.' return end SimpleCov.collate(Dir["coverage*/.resultset.json"]) do formatter SimpleCov::Formatter::MultiFormatter.new([ SimpleCov::Formatter::JSONFormatter, SimpleCov::Formatter::HTMLFormatter ]) refuse_coverage_drop end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
newrelic_rpm-8.10.0 | lib/tasks/coverage_report.rake |