Run cargo tests as part of CI.
This commit is contained in:
parent
9d46e2be2c
commit
36b67321c0
1 changed files with 6 additions and 1 deletions
|
|
@ -99,6 +99,10 @@
|
|||
cargoClippyExtraArgs = "--all-targets -- --deny warnings";
|
||||
});
|
||||
|
||||
system-manager-test = craneLib.cargoTest (commonArgs // {
|
||||
inherit cargoArtifacts;
|
||||
});
|
||||
|
||||
# treefmt-nix configuration
|
||||
treefmt.config = {
|
||||
projectRootFile = "flake.nix";
|
||||
|
|
@ -185,7 +189,8 @@
|
|||
inherit
|
||||
# Build the crate as part of `nix flake check` for convenience
|
||||
system-manager
|
||||
system-manager-clippy;
|
||||
system-manager-clippy
|
||||
system-manager-test;
|
||||
};
|
||||
}));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue