Skip to content

Commit 3910b59

Browse files
authored
CI - Fix smoketests using wrong binary path (#4280)
# Description of Changes The smoketests try to infer whether to use the built `debug` or `release` binaries.. but the common invocation via `cargo ci smoketests` always pre-builds the release binaries. This was causing people to test the wrong binary locally. # API and ABI breaking changes None. # Expected complexity level and risk 1. # Testing - [x] CI passes Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
1 parent cd07161 commit 3910b59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/guard/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn target_dir() -> PathBuf {
4242

4343
/// Returns the expected CLI binary path.
4444
fn cli_binary_path() -> PathBuf {
45-
let profile = if cfg!(debug_assertions) { "debug" } else { "release" };
45+
let profile = "release";
4646
let cli_name = if cfg!(windows) {
4747
"spacetimedb-cli.exe"
4848
} else {

0 commit comments

Comments
 (0)