Skip to content

Closes #21 testing add code coverage for e2e tests #1

Closes #21 testing add code coverage for e2e tests

Closes #21 testing add code coverage for e2e tests #1

Workflow file for this run

name: build
jobs:
e2e-tests:
name: Test (${{ matrix.shard }}/${{ strategy.job-total}})
strategy:
matrix:
shard: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npx playwright install --with-deps
- run: npm run build:coverage
- run: npm run e2e -- --shard=${{ matrix.shard }}/${{ strategy.job-total}}
- uses: codecov/codecov-action@v3
with:
file: e2e/coverage/lcov.info
flags: e2e-${{ matrix.shard }}/${{ strategy.job-total}}