mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-01-09 08:57:38 +08:00
chore(ci): shard e2e tests
This commit is contained in:
parent
d2956b66fe
commit
962a6d6ec4
1 changed files with 4 additions and 1 deletions
|
@ -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 }}
|
Loading…
Reference in a new issue