From 977cee362b2b6f70559cb2cf1cf18563d3eb03b5 Mon Sep 17 00:00:00 2001 From: James Blair Date: Sat, 30 Nov 2024 16:03:36 +1300 Subject: [PATCH] Add a threshold for codecov failure. Signed-off-by: James Blair --- codecov.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/codecov.yml b/codecov.yml index 60f19672e7f..7ee30d3f18f 100644 --- a/codecov.yml +++ b/codecov.yml @@ -23,6 +23,13 @@ coverage: range: 60..80 round: down precision: 2 + status: + project: + default: + target: auto + # allow some coverage reductions within a threshold + # this allows a 1% drop from the previous base commit coverage + threshold: 1% comment: layout: "header, files, diff, footer" behavior: default # default: update, if exists. Otherwise post new; new: delete old and post new