Skip to content

Commit

Permalink
ci: guard the electron macos/windows tests on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya authored Dec 30, 2024
1 parent 0496792 commit aba4327
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit aba4327

Please sign in to comment.