Run cargo tests as part of CI.

This commit is contained in:
r-vdp 2023-03-27 19:21:22 +02:00
parent 9d46e2be2c
commit 36b67321c0
No known key found for this signature in database

View file

@ -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;
};
}));
}