build: enable codecov partial coverage and use bash uploader (#1396)
This commit is contained in:
committed by
Yiyu He
parent
ef5c43bcbc
commit
8be5626bbb
4
.codecov.yml
Normal file
4
.codecov.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
coverage:
|
||||
parsers:
|
||||
javascript:
|
||||
enable_partials: yes
|
||||
@@ -17,5 +17,5 @@ script:
|
||||
- npm run test-cov
|
||||
- npm run bench
|
||||
after_script:
|
||||
- npm install codecov
|
||||
- ./node_modules/.bin/codecov
|
||||
# only upload the coverage.json file
|
||||
- bash <(curl -s https://codecov.io/bash) -f coverage/coverage-final.json
|
||||
|
||||
Reference in New Issue
Block a user