Exclude /lib/tasks/sample_data from CodeCov

We will almost certainly *never* invest the required amount of dev time to cover all this non-critical code with tests, so we may as well drop it from the report.
This commit is contained in:
Matt-Yorkley
2021-04-02 15:46:55 +01:00
parent d7cadde0a1
commit d68b73dd07

View File

@@ -13,6 +13,7 @@ SimpleCov.start 'rails' do
add_filter '/script'
add_filter '/log'
add_filter '/db'
add_filter '/lib/tasks/sample_data/'
end
require 'codecov'