From 2168413a1c95daf6e582cb1ea08de4e51e96a6f6 Mon Sep 17 00:00:00 2001 From: Romain Ruetschi Date: Tue, 24 Oct 2023 14:38:04 +0200 Subject: [PATCH] Adjust base when computing coverage in the presence of removed code See: https://docs.codecov.com/docs/commit-status#removed_code_behavior --- codecov.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/codecov.yml b/codecov.yml index 66a0c8cb2..97d7c517a 100644 --- a/codecov.yml +++ b/codecov.yml @@ -11,6 +11,7 @@ coverage: default: target: auto threshold: 5% + removed_code_behavior: adjust_base paths: - "Code" patch: