4 shards 2 workers

This commit is contained in:
Pierre Jacquier
2025-02-07 08:43:28 -05:00
parent 334d88e0dc
commit 04b8a11da7
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
name: E2E Tests
on:
push:
branches: [ main, pierremtb/playwright-may-fool-me-once-1-shard-kevin ]
branches: [ main, pierremtb/playwright-may-fool-me-once-4-shards-2-workers-kevin ]
pull_request:
branches: [ main ]
@ -41,8 +41,8 @@ jobs:
matrix:
# TODO: enable self-hosted-windows-8-cores once available
os: [namespace-profile-ubuntu-8-cores, namespace-profile-macos-8-cores, windows-16-cores]
shardIndex: [1]
shardTotal: [1]
shardIndex: [1, 2, 3, 4]
shardTotal: [4]
runs-on: ${{ matrix.os }}
needs: check-rust-changes
steps:

View File

@ -13,7 +13,7 @@ export default defineConfig({
/* Do not retry */
retries: 0,
/* Different amount of parallelism on CI and local. */
workers: 8,
workers: 2,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: [
['dot'],