Skip to content

Commit 12ae517

Browse files
authored
Merge pull request #19 from moneydevkit/austin_run-lib-tests
Run library unit tests in check pipeline
2 parents 2a9eb0b + 53fa738 commit 12ae517

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
commonArgs
196196
// {
197197
inherit cargoArtifacts;
198-
cargoNextestExtraArgs = "--bin mdkd";
198+
cargoNextestExtraArgs = "--lib --bin mdkd";
199199
}
200200
);
201201
};

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ integration-test *args:
9494
fix:
9595
cargo clippy --all-targets --fix --allow-dirty --allow-staged
9696
97-
# Run tests (unit + doc; use `just integration-test` for integration tests)
97+
# Run tests (lib + bin unit tests; use `just integration-test` for integration tests)
9898
test *args:
99-
cargo nextest run --bin mdkd {{args}}
99+
cargo nextest run --lib --bin mdkd {{args}}
100100
101101
# Run the server
102102
run *args:

0 commit comments

Comments
 (0)