From 3e9b52af7852a18ec8e871d0c95bae081bec1100 Mon Sep 17 00:00:00 2001 From: Wang Shidong Date: Tue, 10 Aug 2021 20:37:24 +0800 Subject: [PATCH] Add codecov.yml (#4381) --- codecov.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..644ba4871 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,23 @@ +comment: off +codecov: + branch: master +coverage: + status: + patch: + default: false + project: + default: false # disable the default status that measures entire project + api: # declare a new status context "api" + target: 1% # we always want 35% coverage here + paths: + - "autoload/SpaceVim/api/" # only include coverage in "autoload/SpaceVim/api/" folder + plugins: # declare a new status context "api" + target: 15% # we always want 35% coverage here + paths: + - "autoload/SpaceVim/plugins/" # only include coverage in "autoload/SpaceVim/api/" folder + all: # declare a new status context "all" + target: 6% # we always want 35% coverage here + paths: + - "!tests/" # remove all files in "tests/" + - "!bundle/" # remove all files in "tests/" +