test: simplify

This commit is contained in:
zhom
2026-04-04 12:06:05 +04:00
parent f4301213f6
commit 27d108a852
3 changed files with 165 additions and 18 deletions
+2 -17
View File
@@ -113,23 +113,8 @@ jobs:
run: cargo clippy --all-targets --all-features -- -D warnings -D clippy::all
working-directory: src-tauri
- name: Run Rust unit tests
run: cargo test --lib && cargo test --test donut_proxy_integration && cargo test --test vpn_integration
working-directory: src-tauri
- name: Run OpenVPN e2e test (Ubuntu only)
if: matrix.os == 'ubuntu-22.04'
shell: bash
working-directory: src-tauri
env:
DONUTBROWSER_RUN_OPENVPN_E2E: "1"
run: |
CARGO_BIN="$(command -v cargo)"
sudo --preserve-env=CARGO_HOME,RUSTUP_HOME,DONUTBROWSER_RUN_OPENVPN_E2E \
"${CARGO_BIN}" test --test vpn_integration test_openvpn_traffic_flows_through_donut_proxy -- --nocapture
- name: Run Rust sync e2e tests
run: node scripts/sync-test-harness.mjs
- name: Run test suite
run: pnpm test
- name: Run cargo audit security check
run: cargo audit