mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
Select fixture profile under nextest CI
This commit is contained in:
1 parent
38826a67de
commit
fc17b2d5fa
1 file changed
+13
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user