chore(ci): shard e2e tests

This commit is contained in:
Corentin Thomasset 2023-06-10 16:46:52 +02:00 committed by Corentin THOMASSET
parent d2956b66fe
commit 962a6d6ec4

View file

@ -8,6 +8,9 @@ jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
matrix:
shard: [1/3, 2/3, 3/3]
steps:
- uses: actions/checkout@v3
- run: corepack enable
@ -20,4 +23,4 @@ jobs:
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: pnpm exec playwright test
run: pnpm run test:e2e --shard=${{ matrix.shard }}