1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 10:20:05 +08:00

Add codecov.yml (#4381)

This commit is contained in:
Wang Shidong 2021-08-10 20:37:24 +08:00 committed by GitHub
parent 6377357a81
commit 3e9b52af78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

23
codecov.yml Normal file
View File

@ -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/"