From d963e6f573dd3c3c6474c6d5d2f1c02a4fee7e6b Mon Sep 17 00:00:00 2001 From: Mark Rossetti Date: Wed, 5 Feb 2025 13:00:45 -0800 Subject: [PATCH] try to fix issues where cargo test failures on Windows runners don't fail the CI job --- Justfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Justfile b/Justfile index 56045d0b8..efbab4131 100644 --- a/Justfile +++ b/Justfile @@ -1,7 +1,12 @@ import 'c.just' alias build-rust-debug := build-rust -set windows-shell := ["pwsh.exe", "-NoLogo", "-Command"] +set windows-shell := [ + "pwsh.exe", + "-NoLogo", + "-Command", + " & { $cmd = $args -join ' '; Invoke-Expression $cmd; if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } }" +] set dotenv-load := true set-trace-env-vars := if os() == "windows" { "$env:RUST_LOG='none,hyperlight-host=info';" } else { "RUST_LOG=none,hyperlight-host=info" }