Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): outdated lance revision #43

Merged
merged 8 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading