Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3084 from nevinera/nev--fix-simplecov-filters
Browse files Browse the repository at this point in the history
Use stronger path-matching for simplecov filters
  • Loading branch information
pirj authored and JonRowe committed Sep 5, 2024
1 parent 046741d commit 3ce68cd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions script/rspec_with_simplecov
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ begin
require 'simplecov'

SimpleCov.start do
add_filter "bundle/"
add_filter "tmp/"
add_filter "spec/"
minimum_coverage(100)
root File.expand_path("../..", __FILE__)
add_filter %r{/bundle/}
add_filter %r{/tmp/}
add_filter %r{/spec/}
minimum_coverage(99)
end
end
rescue LoadError # rubocop:disable Lint/SuppressedException
Expand Down

0 comments on commit 3ce68cd

Please # to comment.