Skip to content

Commit

Permalink
馃挌 Coverage threshold
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Boling <peter.boling@gmail.com>
  • Loading branch information
pboling committed Jun 23, 2022
1 parent 9e84b53 commit fb674da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .simplecov
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ if RUN_COVERAGE
enable_coverage :branch
primary_coverage :branch
add_filter "spec"
track_files "**/*.rb"
track_files "lib/**/*.rb"

if ALL_FORMATTERS
command_name "#{ENV["GITHUB_WORKFLOW"]} Job #{ENV["GITHUB_RUN_ID"]}:#{ENV["GITHUB_RUN_NUMBER"]}"
else
formatter SimpleCov::Formatter::HTMLFormatter
end

minimum_coverage(100)
minimum_coverage(5)
end
else
puts "Not running coverage on #{RUBY_ENGINE} #{RUBY_VERSION}"
Expand Down

0 comments on commit fb674da

Please sign in to comment.