From dd3584ba3976fbdef5b6d02b2bef47b37029450d Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Wed, 20 Apr 2022 09:24:39 -0700 Subject: [PATCH] chore: add threshold to codecov (#2811) --- codecov.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000000..f4ce2d7576 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,25 @@ +codecov: + require_ci_to_pass: yes + +coverage: + precision: 2 + round: down + range: '70...100' + status: + project: + default: + target: auto + threshold: 2% + +parsers: + gcov: + branch_detection: + conditional: yes + loop: yes + method: no + macro: no + +comment: + layout: 'reach,diff,flags,files,footer' + behavior: default + require_changes: no