From b1c4e9a0ce5e1903330bc4bb59fce67e7d7dff3e Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Sun, 3 May 2026 18:04:01 -0700 Subject: [PATCH] ci: reduce retries to 1 and increase workers to 2 - Retries reduced from 2 to 1 (retries are helping with flaky remote tests but 2 is overkill) - Workers increased from 1 to 2 in CI for parallel project execution --- playwright.config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playwright.config.ts b/playwright.config.ts index 2ae17d1..cf8a29d 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -11,9 +11,9 @@ export default defineConfig({ // Fail the build on CI if you accidentally left test.only in the source code. forbidOnly: !!process.env.CI, // Retry on CI only. - retries: process.env.CI ? 2 : 0, - // Always run with 1 worker to avoid database conflicts - workers: 1, + retries: process.env.CI ? 1 : 0, + // Use 2 workers in CI for parallel project execution; 1 locally + workers: process.env.CI ? 2 : 1, // Reporter to use reporter: 'html', // Global setup and teardown