Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

test(desktop): run startup regressions before unrelated UI tests

Richie McIlroy3f06ef2b9fb1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 68be0606b..87613056f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -313,6 +313,14 @@ jobs:
shell: bash
run: ./scripts/build-desktop-binaries.sh ${{ matrix.settings.target }}
+ - name: Test Windows startup logging regressions
+ if: runner.os == 'Windows'
+ shell: bash
+ run: |
+ export PATH="$(cygpath "$GITHUB_WORKSPACE/target/debug"):$PATH"
+ cargo test --locked -p cap-desktop --target ${{ matrix.settings.target }} --bin cap-desktop logging_tests
+ cargo test --locked -p cap-desktop --target ${{ matrix.settings.target }} --lib crash_sentinel::tests
+
- name: Test Linux desktop regressions
if: ${{ runner.os == 'Linux' }}
shell: bash
@@ -356,14 +364,6 @@ jobs:
LD_LIBRARY_PATH: ${{ runner.os == 'Linux' && format('{0}/target/native-deps/lib:{0}/target/debug:{0}/target/{1}/debug', github.workspace, matrix.settings.target) || '' }}
RUST_TARGET_TRIPLE: ${{ matrix.settings.target }}
- - name: Test Windows startup logging regressions
- if: runner.os == 'Windows'
- shell: bash
- run: |
- export PATH="$(cygpath "$GITHUB_WORKSPACE/target/debug"):$PATH"
- cargo test --locked -p cap-desktop --target ${{ matrix.settings.target }} --bin cap-desktop logging_tests
- cargo test --locked -p cap-desktop --target ${{ matrix.settings.target }} --lib crash_sentinel::tests
-
tauri-plugins:
name: Verify Tauri plugin versions
runs-on: ubuntu-latest