From 3598c21da0219252c1e9b00de6be3b96ba7631df Mon Sep 17 00:00:00 2001 From: Uncle-Justice <40391338+Uncle-Justice@users.noreply.github.com> Date: Fri, 26 Jan 2024 16:47:34 +0800 Subject: [PATCH] test: add codecov target for patch (#792) --- codecov.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/codecov.yml b/codecov.yml index d98ef3ccf..b4cb93159 100644 --- a/codecov.yml +++ b/codecov.yml @@ -2,7 +2,11 @@ codecov: require_ci_to_pass: yes coverage: status: - patch: no + patch: + default: + target: 50% + threshold: 0% + if_ci_failed: error # success, failure, error, ignore project: default: target: auto @@ -17,4 +21,4 @@ ignore: comment: layout: "reach,diff,flags,tree" behavior: default - require_changes: no + require_changes: no \ No newline at end of file