Skip to content

Commit

Permalink
fix(ci): outdated lance revision (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
McPatate authored Nov 7, 2023
1 parent c7affd0 commit f58085b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions crates/testbed/repositories-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion crates/testbed/repositories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ repositories:
type: github
owner: lancedb
name: lance
revision: 4f7fb490c6b36a659b2c40b3945b4d533356acf2
revision: c8ee16ec31eeca884c78bd4a400404aaa994ed46
src_path: rust
exclude_paths:
- .cargo
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions crates/testbed/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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::<Vec<&str>>();
let mut prev = words[0];
for word in words {
Expand Down

0 comments on commit f58085b

Please sign in to comment.