Sha256: 93dd3bf409b530d523eddad5b3c5129e15eb9924e3693bfc26e21565815aee63
Contents?: true
Size: 459 Bytes
Versions: 1
Compression:
Stored size: 459 Bytes
Contents
# frozen_string_literal: true require "simplecov" module CIHelper module Commands class CheckCoverage < BaseCommand def call ::SimpleCov.collate(files) 0 end private def files return path.glob("coverage/resultset.*.json") if split_resultset? [path.join("coverage/.resultset.json")] end def split_resultset? options[:split_resultset] == "true" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ci-helper-0.3.1 | lib/ci_helper/commands/check_coverage.rb |