mirror of https://github.com/curbengh/hexo-yam
ci: add code coverage report
This commit is contained in:
parent
60642c8048
commit
fa6f514a05
|
@ -21,3 +21,5 @@ after_script:
|
|||
snyk protect;
|
||||
snyk monitor;
|
||||
fi
|
||||
- npm install codecov
|
||||
- codecov
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[](https://www.npmjs.com/package/hexo-yam)
|
||||
[](https://travis-ci.com/curbengh/hexo-yam)
|
||||
[](https://codecov.io/gh/curbengh/hexo-yam)
|
||||
[](https://david-dm.org/curbengh/hexo-yam)
|
||||
[](https://snyk.io/test/npm/hexo-yam)
|
||||
[](https://greenkeeper.io/)
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
"jest": {
|
||||
"clearMocks": true,
|
||||
"collectCoverage": true,
|
||||
"coverageDirectory": "coverage",
|
||||
"coverageDirectory": "./coverage/",
|
||||
"testEnvironment": "node"
|
||||
},
|
||||
"greenkeeper": {
|
||||
|
|
Loading…
Reference in New Issue