Skip to content

Commit

Permalink
Merge pull request #4136 from alphagov/2665-check-ruby-test-coverage-…
Browse files Browse the repository at this point in the history
…before-merging-prs-2

 Check ruby test coverage before merging PRs
  • Loading branch information
unoduetre authored Jul 10, 2024
2 parents e32229c + 33c2fa2 commit 60e855b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
require "simplecov"
SimpleCov.start "rails"
SimpleCov.start "rails" do
enable_coverage :branch
minimum_coverage 95
add_filter "/lib/api_error_routing_constraint.rb"
add_filter "/lib/bank_holiday_generator.rb"
add_filter "/lib/format_routing_constraint.rb"
add_filter "/lib/frontend.rb"
end

require "i18n/coverage"
require "i18n/coverage/printers/file_printer"
Expand Down

0 comments on commit 60e855b

Please sign in to comment.