Merge pull request #2682 from Tyriar/2681_exit_code_ci

Return exit code in Linux unit tests
This commit is contained in:
Daniel Imms
2020-02-03 07:06:47 -08:00
committed by GitHub
+2
View File
@@ -27,7 +27,9 @@ jobs:
displayName: 'Install dependencies and build'
- script: |
yarn test-unit-coverage --forbid-only
EXIT_CODE=$?
./node_modules/.bin/nyc report --reporter=cobertura
exit $EXIT_CODE
displayName: 'Unit tests'
- script: yarn lint
displayName: 'Lint'