From d68b73dd0761a9dc5574b2d44ed81bf8e21c81e9 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Fri, 2 Apr 2021 15:46:55 +0100 Subject: [PATCH] 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. --- .simplecov | 1 + 1 file changed, 1 insertion(+) diff --git a/.simplecov b/.simplecov index e1ed14aec0..d60a2ab165 100644 --- a/.simplecov +++ b/.simplecov @@ -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'