Skip to content

Commit 881b831

Browse files
test: fix cargo test filter in probe workflow (single TESTNAME)
cargo test accepts only one TESTNAME filter; passing two args was rejected (unexpected argument) so the #149 tests never ran. Filter on commands::tests. Co-authored-by: Alfonso [Magic Context] <288211368+alfonso-magic-context@users.noreply.github.com>
1 parent c5e09d0 commit 881b831

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/win-opencode-probe.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
# #149; the manual pnpm-layout steps below are corroborating only.
2626
- name: Rust tests (Windows .cmd execution + pnpm candidates)
2727
working-directory: packages/dashboard/src-tauri
28-
run: cargo test win_run_bounded_binary_executes_cmd_shim windows_candidates -- --nocapture
28+
# cargo test takes a single TESTNAME filter; run the commands::tests
29+
# module, which includes the #149 regression + pnpm-candidate tests.
30+
run: cargo test commands::tests -- --nocapture
2931

3032
# --- Real-world reproduction: a pnpm-global opencode, exactly like #149. ---
3133
- name: Confirm pnpm global .cmd shim layout (#149 mechanism 1)

0 commit comments

Comments
 (0)