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

Update codecov (#3751)

This commit is contained in:
Wang Shidong 2020-09-02 01:12:44 +08:00 committed by GitHub
parent 1b81953378
commit 7c06af21fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 9 deletions

View File

@ -8,13 +8,15 @@ coverage:
project:
default: false # disable the default status that measures entire project
api: # declare a new status context "api"
target: 20% # we always want 35% coverage here
paths: "autoload/SpaceVim/api/" # only include coverage in "autoload/SpaceVim/api/" folder
target: 5% # 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: 20% # we always want 35% coverage here
paths: "autoload/SpaceVim/plugins/" # only include coverage in "autoload/SpaceVim/api/" folder
target: 5% # 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: 20% # we always want 35% coverage here
paths: "!tests/" # remove all files in "tests/"
ignore:
- "bundle/" # ignore folders and all its contents
target: 5% # we always want 35% coverage here
paths:
- "!tests/" # remove all files in "tests/"
- "!bundle/" # remove all files in "tests/"

View File

@ -34,7 +34,7 @@ Execute ( SpaceVim api: job ):
if job.vim_job || job.nvim_job
let jobid = job.start(argv,opt)
call job.send(jobid, 'foo')
sleep 10m
sleep 2000m
AssertEqual stdout, 'foo'
AssertEqual job.status(jobid), 'run'
call job.stop(jobid)