Bring back unit test coverage report

This commit is contained in:
Daniel Imms
2023-08-27 07:28:04 -07:00
committed by GitHub
parent a0d0c923f3
commit 12a862c277
+21
View File
@@ -72,6 +72,27 @@ jobs:
- name: Lint API
run: yarn lint-api
coverage:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'
- name: Install dependencies
run: |
yarn --frozen-lockfile
yarn install-addons
- name: Unit test coverage
run: |
yarn test-unit-coverage --forbid-only
EXIT_CODE=$?
./node_modules/.bin/nyc report --reporter=cobertura
exit $EXIT_CODE
test-unit-parallel:
timeout-minutes: 20
strategy: