diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7f9fd547..e86f0f8c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -167,7 +167,7 @@ jobs: uses: nick-fields/retry@v3 with: timeout_minutes: 5 - max_attempts: 1 + max_attempts: 3 command: | pnpm run test.unit.compat continue-on-error: true @@ -177,11 +177,11 @@ jobs: shell: bash - name: Test Electron Windows/MacOS - if: "${{ !matrix.dockerfile }}" + if: "${{ !contains(matrix.os, 'ubuntu') && !matrix.dockerfile }}" uses: nick-fields/retry@v3 with: timeout_minutes: 5 - max_attempts: 1 + max_attempts: 3 command: | pnpm run test.electron.main continue-on-error: true @@ -191,7 +191,7 @@ jobs: uses: nick-fields/retry@v3 with: timeout_minutes: 5 - max_attempts: 1 + max_attempts: 3 command: | sudo apt-get install xvfb xvfb-run --auto-servernum pnpm run test.electron.main