From fc17b2d5fae67fc3ee2bcc78022a75f49c4195b5 Mon Sep 17 00:00:00 2001 From: FredApps Date: Fri, 20 Nov 2026 03:03:06 +0100 Subject: [PATCH] Select fixture profile under nextest CI --- xtask/src/cache_units.rs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/xtask/src/cache_units.rs b/xtask/src/cache_units.rs index 859ad18c91e..59df9abed2c 100644 --- a/xtask/src/cache_units.rs +++ b/xtask/src/cache_units.rs @@ -114,7 +114,19 @@ mod tests { .env("CARGO_TARGET_DIR", dir.join("target")) .env("CARGO_BUILD_BUILD_DIR", dir.join("target")) .env("CARGO_NET_OFFLINE", "true") - .args(["nextest", "list", "--list-type", "binaries-only", "--message-format", "json", "--cargo-message-format", "json-render-diagnostics"]) + .env("NEXTEST_PROFILE", "ci") + .args([ + "nextest", + "list", + "--profile", + "default", + "--list-type", + "binaries-only", + "--message-format", + "json", + "--cargo-message-format", + "json-render-diagnostics", + ]) .output() .unwrap(); assert!(out.status.success(), "{}", String::from_utf8_lossy(&out.stderr));