Generate coverage report for pipelines

This commit is contained in:
Daniel Imms
2019-11-10 21:38:43 -08:00
committed by GitHub
parent 03fe1677b6
commit 94afd1fa38
+3 -1
View File
@@ -25,7 +25,9 @@ jobs:
displayName: Cache node modules
- script: yarn --frozen-lockfile
displayName: 'Install dependencies and build'
- script: yarn test-unit-coverage --forbid-only
- script: |
yarn test-unit-coverage --forbid-only
./node_modules/.bin/nyc report --reporter=cobertura
displayName: 'Unit tests'
- script: yarn lint
displayName: 'Lint'