[web] Add JS coverage to codecov.
This commit is contained in:
parent
31a45ddaaa
commit
de9ecb7c30
|
@ -52,8 +52,10 @@ matrix:
|
|||
before_install:
|
||||
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
||||
- export PATH=$HOME/.yarn/bin:$PATH
|
||||
install: cd web && yarn
|
||||
script: npm test
|
||||
install:
|
||||
- cd web && yarn
|
||||
- yarn global add codecov
|
||||
script: npm test && codecov
|
||||
cache:
|
||||
yarn: true
|
||||
directories:
|
||||
|
|
|
@ -13,7 +13,9 @@
|
|||
],
|
||||
"unmockedModulePathPatterns": [
|
||||
"react"
|
||||
]
|
||||
],
|
||||
"coverageDirectory":"./coverage",
|
||||
"collectCoverage": true
|
||||
},
|
||||
"dependencies": {
|
||||
"bootstrap": "^3.3.7",
|
||||
|
|
Loading…
Reference in New Issue