-
-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.simplecov: filter more filters/folders. #3545
Conversation
This is stuff that can never be exercised by our test suite but is exercised by `brew test-bot` so remove it from the coverage checks.
add_filter %r{^/os/mac/} unless RbConfig::CONFIG["host_os"].include?("darwin") | ||
unless RbConfig::CONFIG["host_os"].include?("linux") | ||
add_filter %r{^/os/linux/} | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the two different styles here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rubocop
changing this based on the line length.
@@ -38,11 +38,22 @@ SimpleCov.start do | |||
track_files "#{SimpleCov.root}/{#{subdirs},*.rb}" | |||
end | |||
|
|||
add_filter %r{^/build.rb$} | |||
add_filter %r{^/config.rb$} | |||
add_filter %r{^/constants.rb$} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn‘t this be covered by running any integration test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or it's been already included.
This is stuff that can never be exercised by our test suite but is exercised by
brew test-bot
so remove it from the coverage checks.