test(torrents): harden native smoke validation

This commit is contained in:
NimBold
2026-08-01 19:55:42 +03:30
parent 1a492fc4c8
commit 92092e9844
3 changed files with 50 additions and 9 deletions
+6
View File
@@ -71,6 +71,10 @@ jobs:
run: |
cargo test --tests --target ${{ matrix.target }}
cargo test --lib --no-run --target ${{ matrix.target }}
- name: Test Torrent RPC harness on Windows
if: runner.os == 'Windows'
working-directory: src-tauri
run: cargo test torrent_probe::tests::http_rpc_harness --target ${{ matrix.target }} -- --nocapture
- name: Provision locked engines
if: runner.os != 'macOS'
run: node scripts/provision-engines.js --target ${{ matrix.target }}
@@ -78,3 +82,5 @@ jobs:
run: |
node scripts/stage-engines.js --target ${{ matrix.target }}
node scripts/verify-binaries.js --staged --target ${{ matrix.target }}
- name: Run Torrent process smoke
run: node scripts/smoke-torrent.js --binary src-tauri/engine-dist/${{ matrix.target }}/aria2c-${{ matrix.target }}${{ runner.os == 'Windows' && '.exe' || '' }} --failure-paths