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) - name: Run playwright/electron flow on ubuntu (with retries)
if: contains(matrix.os, 'ubuntu') if: contains(matrix.os, 'ubuntu')
run: | 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: env:
CI: true CI: true
FAIL_ON_CONSOLE_ERRORS: true FAIL_ON_CONSOLE_ERRORS: true
@ -68,7 +68,7 @@ jobs:
if: contains(matrix.os, 'windows') if: contains(matrix.os, 'windows')
id: retry id: retry
run: | run: |
yarn test:playwright:electron:windows --retries 20 yarn test:playwright:electron:windows
env: env:
CI: true CI: true
FAIL_ON_CONSOLE_ERRORS: true FAIL_ON_CONSOLE_ERRORS: true
@ -80,7 +80,7 @@ jobs:
- name: Run playwright/electron flow on macos (with retries) - name: Run playwright/electron flow on macos (with retries)
if: contains(matrix.os, 'macos') if: contains(matrix.os, 'macos')
run: | run: |
yarn test:playwright:electron:macos --retries 20 yarn test:playwright:electron:macos
env: env:
CI: true CI: true
FAIL_ON_CONSOLE_ERRORS: 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. */ /* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: true, forbidOnly: true,
/* Do not retry */ /* Do not retry */
retries: 0, retries: 10,
/* Different amount of parallelism on CI and local. */ /* Different amount of parallelism on CI and local. */
workers: 8, workers: 4,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */ /* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: [ reporter: [
['dot'], ['dot'],