fix: installer broken in ubuntu 24.10 #490
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Desktop-mac full test suite run on pull request' | |
on: | |
pull_request: | |
branches: [ main ] | |
concurrency: | |
group: pr-desktop-mac-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
jobs: | |
test-desktop-mac: | |
runs-on: macos-13 | |
timeout-minutes: 90 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: install Rust stable | |
uses: dtolnay/rust-toolchain@stable | |
- name: npm install ci deps | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: npm ci | |
- name: Download phoenix and build build phoenix dist-test | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
npm run _ci-clonePhoenixForTests | |
cd .. | |
cd phoenix | |
npm ci | |
npm run build | |
npm run release:dev | |
- name: build test runner | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
npm ci | |
npm run releaseDistTestDebug | |
- name: Run tauri unit tests | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 12 | |
max_attempts: 3 | |
command: ./src-tauri/target/debug/phoenix-test --run-tests=unit -q | |
- name: Run tauri integration tests | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 12 | |
max_attempts: 3 | |
command: ./src-tauri/target/debug/phoenix-test --run-tests=integration -q | |
- name: Run tauri mainview tests | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 12 | |
max_attempts: 3 | |
command: ./src-tauri/target/debug/phoenix-test --run-tests=mainview -q | |
- name: Run tauri livepreview tests | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 12 | |
max_attempts: 3 | |
command: ./src-tauri/target/debug/phoenix-test --run-tests=livepreview -q | |
- name: Run tauri LegacyInteg tests | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 30 | |
max_attempts: 3 | |
command: ./src-tauri/target/debug/phoenix-test --run-tests=LegacyInteg -q |