diff --git a/crates/testbed/repositories-ci.yaml b/crates/testbed/repositories-ci.yaml index 7540ddb..4850adc 100644 --- a/crates/testbed/repositories-ci.yaml +++ b/crates/testbed/repositories-ci.yaml @@ -178,6 +178,7 @@ repositories: build_args: ["run", "build"] language: typescript runner: vitest + runner_args: ["run", "vitest", "--", "--no-color"] setup_commands: - ["npm", ["install"]] holes_file: io-ts-smol.json diff --git a/crates/testbed/repositories.yaml b/crates/testbed/repositories.yaml index 4ea242d..f856871 100644 --- a/crates/testbed/repositories.yaml +++ b/crates/testbed/repositories.yaml @@ -110,7 +110,7 @@ repositories: type: github owner: lancedb name: lance - revision: 4f7fb490c6b36a659b2c40b3945b4d533356acf2 + revision: c8ee16ec31eeca884c78bd4a400404aaa994ed46 src_path: rust exclude_paths: - .cargo @@ -178,6 +178,7 @@ repositories: build_args: ["run", "build"] language: typescript runner: vitest + runner_args: ["run", "vitest", "--", "--no-color"] setup_commands: - ["npm", ["install"]] holes_file: io-ts.json diff --git a/crates/testbed/src/runner.rs b/crates/testbed/src/runner.rs index 46f48ab..aabee32 100644 --- a/crates/testbed/src/runner.rs +++ b/crates/testbed/src/runner.rs @@ -38,7 +38,7 @@ async fn pytest_runner( "--no-header".to_owned(), ]; args.append(extra_args); - debug!("running pytest tests: {cmd} {args:?}"); + debug!("running pytest tests: {cmd} {}", args.join(" ")); let mut child = Command::new(cmd) .args(args) .current_dir(repo_path) @@ -103,7 +103,7 @@ async fn cargo_runner( "--format".to_owned(), "json".to_owned(), ]); - debug!("running cargo tests: {cmd} test {args:?}"); + debug!("running cargo tests: {cmd} test {}", args.join(" ")); let parsed_env = parse_env(env)?; let mut cmd = Command::new(cmd); for (name, value) in parsed_env { @@ -158,7 +158,7 @@ async fn jest_runner( } else { &default_args }; - debug!("running jest tests: {cmd} {args:?}"); + debug!("running jest tests: {cmd} {}", args.join(" ")); let mut child = Command::new(cmd) .args(args) .current_dir(repo_path) @@ -213,7 +213,7 @@ async fn vitest_runner( } else { &default_args }; - debug!("running vitest tests: {cmd} {args:?}"); + debug!("running vitest tests: {cmd} {}", args.join(" ")); let mut child = Command::new(cmd) .args(args) .current_dir(repo_path) @@ -232,7 +232,7 @@ async fn vitest_runner( let mut passed = 0f32; let mut failed = 0f32; for line in lines { - if line.contains(" Tests ") { + if line.contains("Tests") { let words = line.trim().split(' ').collect::>(); let mut prev = words[0]; for word in words {