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

Use stronger path-matching for simplecov filters #3084

Merged
merged 1 commit into from
May 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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