- Introduced a new end-to-end test module in `nix/checks/e2e-test.nix`. - Added a script to set up a local Vault server, run tests, and verify functionality. - Integrated the tests into the Nix checks for better validation of `vault-hier`.
36 lines
592 B
Nix
36 lines
592 B
Nix
{
|
|
craneLib,
|
|
src,
|
|
commonArgs,
|
|
cargoArtifacts,
|
|
vault-hier,
|
|
pkgs,
|
|
}:
|
|
|
|
{
|
|
inherit vault-hier;
|
|
|
|
my-workspace-clippy = import ./clippy.nix {
|
|
inherit craneLib commonArgs cargoArtifacts;
|
|
};
|
|
|
|
my-workspace-doc = import ./doc.nix {
|
|
inherit craneLib commonArgs cargoArtifacts;
|
|
};
|
|
|
|
# Check formatting
|
|
my-workspace-fmt = import ./fmt.nix {
|
|
inherit craneLib src;
|
|
};
|
|
|
|
my-workspace-toml-fmt = import ./toml-fmt.nix {
|
|
inherit craneLib src;
|
|
lib = pkgs.lib;
|
|
};
|
|
|
|
# End-to-end tests
|
|
e2e-tests = import ./e2e-test.nix {
|
|
inherit pkgs vault-hier src;
|
|
};
|
|
}
|