fix(ci): outdated lance revision (#43)

This commit is contained in:
Luc Georges 2023-11-07 13:24:22 +01:00 committed by GitHub
parent c7affd0da9
commit f58085b812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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::<Vec<&str>>();
let mut prev = words[0];
for word in words {