Skip to content

Commit 9374952

Browse files
committed
fix: use cargo test --lib in dogfood to match normal CI
The full cargo test runs integration tests that need python3, which isn't available in the bare Rust Docker container.
1 parent 348245e commit 9374952

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.harmont/ci.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def ci(
3131
) -> tuple[hm.Step, ...]:
3232
return (
3333
rust_project.build(),
34-
rust_project.test(),
34+
rust_project.run("cargo test --lib", label=":rust: test"),
3535
rust_project.clippy(),
3636
rust_project.fmt(),
3737
py_project.lint(),

.harmont/ci.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const pipelines: PipelineDefinition[] = [
1010
triggers: [push({ branch: "main" }), pullRequest({ branches: ["main"] })],
1111
pipeline: pipeline(
1212
rustProject.build(),
13-
rustProject.test(),
13+
rustProject.run("cargo test --lib", { label: ":rust: test" }),
1414
rustProject.clippy(),
1515
rustProject.fmt(),
1616
pyProject.lint(),

0 commit comments

Comments
 (0)