Exclude `lib/linter` from simplecov report (#25916)

main-unfiltered
Matt Jankowski 2023-07-12 03:51:59 -04:00 committed by GitHub
parent c75df62ccc
commit 7824df0eca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
if ENV['DISABLE_SIMPLECOV'] != 'true' if ENV['DISABLE_SIMPLECOV'] != 'true'
require 'simplecov' require 'simplecov'
SimpleCov.start 'rails' do SimpleCov.start 'rails' do
add_filter 'lib/linter'
add_group 'Policies', 'app/policies' add_group 'Policies', 'app/policies'
add_group 'Presenters', 'app/presenters' add_group 'Presenters', 'app/presenters'
add_group 'Serializers', 'app/serializers' add_group 'Serializers', 'app/serializers'