Add coverage analysis to CI workflow

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-01-06 12:38:33 +01:00
parent f0835f5b62
commit cb44ebda5b
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
2 changed files with 12 additions and 3 deletions

View file

@ -80,7 +80,11 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn --frozen-lockfile --prefer-offline
- run: yarn run test
- run: yarn run test:cov
- uses: codecov/codecov-action@v1
with:
directory: coverage
flags: integration-tests
e2e-tests:
runs-on: ubuntu-latest
@ -101,4 +105,8 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn --frozen-lockfile --prefer-offline
- run: yarn run test:e2e
- run: yarn run test:e2e:cov
- uses: codecov/codecov-action@v1
with:
directory: coverage-e2e
flags: e2e-tests