diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index abf4781c1..826dbb878 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -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: diff --git a/playwright.electron.config.ts b/playwright.electron.config.ts index 5bebd855d..31c0b08e3 100644 --- a/playwright.electron.config.ts +++ b/playwright.electron.config.ts @@ -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'],