Skip to content

Commit

Permalink
ci: activate live preview desktop integ tests in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Jan 11, 2024
1 parent a201987 commit 16e873c
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/desktop-linux-prod-test-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ jobs:
max_attempts: 3
command: xvfb-run ../phoenix-desktop/src-tauri/target/debug/phoenix-test --run-tests=mainview -q

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

- name: Run tauri LegacyInteg tests
uses: nick-fields/retry@v2
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/desktop-linux-test-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ jobs:
max_attempts: 3
command: xvfb-run ../phoenix-desktop/src-tauri/target/debug/phoenix-test --run-tests=mainview -q

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

- name: Run tauri LegacyInteg tests
uses: nick-fields/retry@v2
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/desktop-mac-test-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ jobs:
max_attempts: 3
command: ../phoenix-desktop/src-tauri/target/debug/phoenix-test --run-tests=mainview -q

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

- name: Run tauri LegacyInteg tests
uses: nick-fields/retry@v2
with:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/desktop-windows-test-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,20 @@ jobs:
run: type output-mainview.txt
shell: cmd

- name: Run tauri livepreview tests in windows
uses: nick-fields/retry@v2
id: windowsRunLivepreview
continue-on-error: true
with:
timeout_minutes: 12
max_attempts: 3
command: ..\phoenix-desktop\src-tauri\target\debug\phoenix-test.exe --run-tests=livepreview -q > output-livepreview.txt 2>&1
shell: cmd

- name: Print windows livepreview test output to console
run: type output-livepreview.txt
shell: cmd

- name: Run tauri LegacyInteg tests in windows
uses: nick-fields/retry@v2
id: windowsRunLegacyInteg
Expand Down

0 comments on commit 16e873c

Please sign in to comment.