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";
|
cargoClippyExtraArgs = "--all-targets -- --deny warnings";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
system-manager-test = craneLib.cargoTest (commonArgs // {
|
||||||
|
inherit cargoArtifacts;
|
||||||
|
});
|
||||||
|
|
||||||
# treefmt-nix configuration
|
# treefmt-nix configuration
|
||||||
treefmt.config = {
|
treefmt.config = {
|
||||||
projectRootFile = "flake.nix";
|
projectRootFile = "flake.nix";
|
||||||
|
|
@ -185,7 +189,8 @@
|
||||||
inherit
|
inherit
|
||||||
# Build the crate as part of `nix flake check` for convenience
|
# Build the crate as part of `nix flake check` for convenience
|
||||||
system-manager
|
system-manager
|
||||||
system-manager-clippy;
|
system-manager-clippy
|
||||||
|
system-manager-test;
|
||||||
};
|
};
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue