Skip to content

Commit

Permalink
ci: mac m1 test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Nov 6, 2023
1 parent 3beb42f commit a043772
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/desktop-mac-M1-test-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ concurrency:
cancel-in-progress: true

jobs:
test-desktop-mac:
test-desktop-mac-m1:
runs-on: macos-latest-large
timeout-minutes: 5
timeout-minutes: 1
steps:
- uses: actions/checkout@v4
- name: macos hardware info
run: system_profiler SPSoftwareDataType SPHardwareDataType
- name: setup node
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -40,27 +42,27 @@ jobs:
- name: Run tauri unit tests
uses: nick-fields/retry@v2
with:
timeout_minutes: 12
max_attempts: 3
timeout_minutes: 10
max_attempts: 2
command: ./src-tauri/target/debug/phoenix-test --run-tests=unit -q

- name: Run tauri integration tests
uses: nick-fields/retry@v2
with:
timeout_minutes: 12
max_attempts: 3
timeout_minutes: 10
max_attempts: 2
command: ./src-tauri/target/debug/phoenix-test --run-tests=integration -q

- name: Run tauri mainview tests
uses: nick-fields/retry@v2
with:
timeout_minutes: 12
max_attempts: 3
timeout_minutes: 10
max_attempts: 2
command: ./src-tauri/target/debug/phoenix-test --run-tests=mainview -q

- name: Run tauri LegacyInteg tests
uses: nick-fields/retry@v2
with:
timeout_minutes: 30
max_attempts: 3
max_attempts: 1
command: ./src-tauri/target/debug/phoenix-test --run-tests=LegacyInteg -q

0 comments on commit a043772

Please sign in to comment.