mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +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:
|
project:
|
||||||
default: false # disable the default status that measures entire project
|
default: false # disable the default status that measures entire project
|
||||||
api: # declare a new status context "api"
|
api: # declare a new status context "api"
|
||||||
target: 20% # we always want 35% coverage here
|
target: 5% # we always want 35% coverage here
|
||||||
paths: "autoload/SpaceVim/api/" # only include coverage in "autoload/SpaceVim/api/" folder
|
paths:
|
||||||
|
- "autoload/SpaceVim/api/" # only include coverage in "autoload/SpaceVim/api/" folder
|
||||||
plugins: # declare a new status context "api"
|
plugins: # declare a new status context "api"
|
||||||
target: 20% # we always want 35% coverage here
|
target: 5% # we always want 35% coverage here
|
||||||
paths: "autoload/SpaceVim/plugins/" # only include coverage in "autoload/SpaceVim/api/" folder
|
paths:
|
||||||
|
- "autoload/SpaceVim/plugins/" # only include coverage in "autoload/SpaceVim/api/" folder
|
||||||
all: # declare a new status context "all"
|
all: # declare a new status context "all"
|
||||||
target: 20% # we always want 35% coverage here
|
target: 5% # we always want 35% coverage here
|
||||||
paths: "!tests/" # remove all files in "tests/"
|
paths:
|
||||||
ignore:
|
- "!tests/" # remove all files in "tests/"
|
||||||
- "bundle/" # ignore folders and all its contents
|
- "!bundle/" # remove all files in "tests/"
|
||||||
|
@ -34,7 +34,7 @@ Execute ( SpaceVim api: job ):
|
|||||||
if job.vim_job || job.nvim_job
|
if job.vim_job || job.nvim_job
|
||||||
let jobid = job.start(argv,opt)
|
let jobid = job.start(argv,opt)
|
||||||
call job.send(jobid, 'foo')
|
call job.send(jobid, 'foo')
|
||||||
sleep 10m
|
sleep 2000m
|
||||||
AssertEqual stdout, 'foo'
|
AssertEqual stdout, 'foo'
|
||||||
AssertEqual job.status(jobid), 'run'
|
AssertEqual job.status(jobid), 'run'
|
||||||
call job.stop(jobid)
|
call job.stop(jobid)
|
||||||
|
Loading…
Reference in New Issue
Block a user