|
25 | 25 | - name: install dependencies (ubuntu only) |
26 | 26 | run: | |
27 | 27 | sudo apt-get update |
28 | | - sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf |
29 | | - sudo apt install build-essential curl wget file libssl-dev libayatana-appindicator3-dev |
| 28 | + sudo apt install build-essential curl wget file libssl-dev |
30 | 29 | sudo apt-get install xvfb |
31 | 30 |
|
32 | 31 | - name: npm install ci deps |
|
63 | 62 | with: |
64 | 63 | timeout_minutes: 12 |
65 | 64 | max_attempts: 3 |
66 | | - command: xvfb-run ./src-tauri/target/debug/phoenix-test --run-tests=unit -q |
| 65 | + command: xvfb-run src-electron/dist/phoenix-test-runner.appimage --run-tests=unit -q |
67 | 66 |
|
68 | 67 | - name: Run tauri integration tests |
69 | 68 | uses: nick-fields/retry@v3 |
|
72 | 71 | with: |
73 | 72 | timeout_minutes: 12 |
74 | 73 | max_attempts: 3 |
75 | | - command: xvfb-run ./src-tauri/target/debug/phoenix-test --run-tests=integration -q |
| 74 | + command: xvfb-run src-electron/dist/phoenix-test-runner.appimage --run-tests=integration -q |
76 | 75 |
|
77 | 76 | - name: Run tauri mainview tests |
78 | 77 | uses: nick-fields/retry@v3 |
|
81 | 80 | with: |
82 | 81 | timeout_minutes: 12 |
83 | 82 | max_attempts: 3 |
84 | | - command: xvfb-run ./src-tauri/target/debug/phoenix-test --run-tests=mainview -q |
| 83 | + command: xvfb-run src-electron/dist/phoenix-test-runner.appimage --run-tests=mainview -q |
85 | 84 |
|
86 | 85 | - name: Run tauri livepreview tests |
87 | 86 | uses: nick-fields/retry@v3 |
|
90 | 89 | with: |
91 | 90 | timeout_minutes: 12 |
92 | 91 | max_attempts: 3 |
93 | | - command: xvfb-run ./src-tauri/target/debug/phoenix-test --run-tests=livepreview -q |
| 92 | + command: xvfb-run src-electron/dist/phoenix-test-runner.appimage --run-tests=livepreview -q |
94 | 93 |
|
95 | 94 | - name: Run tauri LegacyInteg tests |
96 | 95 | uses: nick-fields/retry@v3 |
|
99 | 98 | with: |
100 | 99 | timeout_minutes: 20 |
101 | 100 | max_attempts: 3 |
102 | | - command: xvfb-run ./src-tauri/target/debug/phoenix-test --run-tests=LegacyInteg -q |
| 101 | + command: xvfb-run src-electron/dist/phoenix-test-runner.appimage --run-tests=LegacyInteg -q |
103 | 102 |
|
104 | 103 | - name: Fail on test runs failed in Linux |
105 | 104 | if: steps.linuxRunUnit.outcome == 'failure' || steps.linuxRunIntegration.outcome == 'failure' || steps.linuxRunMainview.outcome == 'failure' || steps.linuxRunLivepreview.outcome == 'failure' || steps.linuxRunLegacyInteg.outcome == 'failure' |
|
0 commit comments