fix(ci): isolate Windows Tauri test harness

- keep Windows executable checks on targets that run on the hosted image
- compile Tauri-backed queue and library tests without executing the broken harness
- share root-scoped canonical cache logic with the Windows safety regression
This commit is contained in:
NimBold
2026-08-19 13:03:07 +03:30
parent dd04ed40d6
commit 6be0f5ca5a
4 changed files with 123 additions and 41 deletions
+10 -5
View File
@@ -76,13 +76,18 @@ jobs:
if: runner.os != 'Windows'
working-directory: src-tauri
run: cargo test --all-targets --target ${{ matrix.target }}
- name: Test Rust backend
- name: Test Windows Torrent RPC integration
if: runner.os == 'Windows'
working-directory: src-tauri
run: |
cargo test --test queue_manager --target ${{ matrix.target }} -- --nocapture
cargo test --test torrent_rpc --target ${{ matrix.target }} -- --nocapture
cargo test --lib --no-run --target ${{ matrix.target }}
run: cargo test --test torrent_rpc --target ${{ matrix.target }} -- --nocapture
- name: Compile Windows queue-manager integration
if: runner.os == 'Windows'
working-directory: src-tauri
run: cargo test --test queue_manager --no-run --target ${{ matrix.target }}
- name: Compile Windows Rust library tests
if: runner.os == 'Windows'
working-directory: src-tauri
run: cargo test --lib --no-run --target ${{ matrix.target }}
- name: Verify Windows atomic Torrent storage
if: runner.os == 'Windows'
working-directory: src-tauri