mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:30:05 +08:00
Update codecov (#3751)
This commit is contained in:
parent
1b81953378
commit
7c06af21fc
18
codecov.yml
18
codecov.yml
@ -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/"
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user