10 retries 4 workers

This commit is contained in:
Pierre Jacquier
2025-02-22 07:26:15 -05:00
parent 0bab975560
commit ab49da1685
2 changed files with 5 additions and 5 deletions

View File

@ -55,7 +55,7 @@ jobs:
- name: Run playwright/electron flow on ubuntu (with retries)
if: contains(matrix.os, 'ubuntu')
run: |
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:playwright:electron:ubuntu --retries 20
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn test:playwright:electron:ubuntu
env:
CI: true
FAIL_ON_CONSOLE_ERRORS: true
@ -68,7 +68,7 @@ jobs:
if: contains(matrix.os, 'windows')
id: retry
run: |
yarn test:playwright:electron:windows --retries 20
yarn test:playwright:electron:windows
env:
CI: true
FAIL_ON_CONSOLE_ERRORS: true
@ -80,7 +80,7 @@ jobs:
- name: Run playwright/electron flow on macos (with retries)
if: contains(matrix.os, 'macos')
run: |
yarn test:playwright:electron:macos --retries 20
yarn test:playwright:electron:macos
env:
CI: true
FAIL_ON_CONSOLE_ERRORS: true

View File

@ -11,9 +11,9 @@ export default defineConfig({
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: true,
/* Do not retry */
retries: 0,
retries: 10,
/* Different amount of parallelism on CI and local. */
workers: 8,
workers: 4,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: [
['dot'],