fix(ci): outdated lance revision (#43)
This commit is contained in:
parent
c7affd0da9
commit
f58085b812
|
@ -178,6 +178,7 @@ repositories:
|
||||||
build_args: ["run", "build"]
|
build_args: ["run", "build"]
|
||||||
language: typescript
|
language: typescript
|
||||||
runner: vitest
|
runner: vitest
|
||||||
|
runner_args: ["run", "vitest", "--", "--no-color"]
|
||||||
setup_commands:
|
setup_commands:
|
||||||
- ["npm", ["install"]]
|
- ["npm", ["install"]]
|
||||||
holes_file: io-ts-smol.json
|
holes_file: io-ts-smol.json
|
||||||
|
|
|
@ -110,7 +110,7 @@ repositories:
|
||||||
type: github
|
type: github
|
||||||
owner: lancedb
|
owner: lancedb
|
||||||
name: lance
|
name: lance
|
||||||
revision: 4f7fb490c6b36a659b2c40b3945b4d533356acf2
|
revision: c8ee16ec31eeca884c78bd4a400404aaa994ed46
|
||||||
src_path: rust
|
src_path: rust
|
||||||
exclude_paths:
|
exclude_paths:
|
||||||
- .cargo
|
- .cargo
|
||||||
|
@ -178,6 +178,7 @@ repositories:
|
||||||
build_args: ["run", "build"]
|
build_args: ["run", "build"]
|
||||||
language: typescript
|
language: typescript
|
||||||
runner: vitest
|
runner: vitest
|
||||||
|
runner_args: ["run", "vitest", "--", "--no-color"]
|
||||||
setup_commands:
|
setup_commands:
|
||||||
- ["npm", ["install"]]
|
- ["npm", ["install"]]
|
||||||
holes_file: io-ts.json
|
holes_file: io-ts.json
|
||||||
|
|
|
@ -38,7 +38,7 @@ async fn pytest_runner(
|
||||||
"--no-header".to_owned(),
|
"--no-header".to_owned(),
|
||||||
];
|
];
|
||||||
args.append(extra_args);
|
args.append(extra_args);
|
||||||
debug!("running pytest tests: {cmd} {args:?}");
|
debug!("running pytest tests: {cmd} {}", args.join(" "));
|
||||||
let mut child = Command::new(cmd)
|
let mut child = Command::new(cmd)
|
||||||
.args(args)
|
.args(args)
|
||||||
.current_dir(repo_path)
|
.current_dir(repo_path)
|
||||||
|
@ -103,7 +103,7 @@ async fn cargo_runner(
|
||||||
"--format".to_owned(),
|
"--format".to_owned(),
|
||||||
"json".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 parsed_env = parse_env(env)?;
|
||||||
let mut cmd = Command::new(cmd);
|
let mut cmd = Command::new(cmd);
|
||||||
for (name, value) in parsed_env {
|
for (name, value) in parsed_env {
|
||||||
|
@ -158,7 +158,7 @@ async fn jest_runner(
|
||||||
} else {
|
} else {
|
||||||
&default_args
|
&default_args
|
||||||
};
|
};
|
||||||
debug!("running jest tests: {cmd} {args:?}");
|
debug!("running jest tests: {cmd} {}", args.join(" "));
|
||||||
let mut child = Command::new(cmd)
|
let mut child = Command::new(cmd)
|
||||||
.args(args)
|
.args(args)
|
||||||
.current_dir(repo_path)
|
.current_dir(repo_path)
|
||||||
|
@ -213,7 +213,7 @@ async fn vitest_runner(
|
||||||
} else {
|
} else {
|
||||||
&default_args
|
&default_args
|
||||||
};
|
};
|
||||||
debug!("running vitest tests: {cmd} {args:?}");
|
debug!("running vitest tests: {cmd} {}", args.join(" "));
|
||||||
let mut child = Command::new(cmd)
|
let mut child = Command::new(cmd)
|
||||||
.args(args)
|
.args(args)
|
||||||
.current_dir(repo_path)
|
.current_dir(repo_path)
|
||||||
|
@ -232,7 +232,7 @@ async fn vitest_runner(
|
||||||
let mut passed = 0f32;
|
let mut passed = 0f32;
|
||||||
let mut failed = 0f32;
|
let mut failed = 0f32;
|
||||||
for line in lines {
|
for line in lines {
|
||||||
if line.contains(" Tests ") {
|
if line.contains("Tests") {
|
||||||
let words = line.trim().split(' ').collect::<Vec<&str>>();
|
let words = line.trim().split(' ').collect::<Vec<&str>>();
|
||||||
let mut prev = words[0];
|
let mut prev = words[0];
|
||||||
for word in words {
|
for word in words {
|
||||||
|
|
Loading…
Reference in a new issue