From 626d1c8f36959ac43a2d97300458fa6ded993bf7 Mon Sep 17 00:00:00 2001 From: wuhuizuo Date: Mon, 3 Jul 2023 14:03:42 +0800 Subject: [PATCH] ci: add configuration fileds to codecov.yaml (#6666) ref pingcap-qe/ci#2171, close tikv/pd#6667 ci: add configuration fileds to codecov.yaml - `ignore`: ignore integration test cases or tools paths. - `flags`: to split static for unit and integration testing. - `comment`: add `flags` section in comments. Signed-off-by: wuhuizuo --- codecov.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/codecov.yml b/codecov.yml index dc58a648479..44a3aac24b7 100644 --- a/codecov.yml +++ b/codecov.yml @@ -10,3 +10,20 @@ coverage: # basic target: auto threshold: 3% + +comment: + layout: "header, diff, flags" + behavior: default + require_changes: false + +flag_management: + default_rules: # the rules that will be followed for any flag added, generally + carryforward: true + statuses: + - type: project + target: 85% + - type: patch + target: 85% + +ignore: + - tests/** # integration test cases or tools.