Watch
0
0
Fork
You've already forked hyperhive
0

ci: type-check vm test scripts without building the vms

Adds checks.<system>.vm-test-typecheck-<name> for hive-squid, swarm-archive, agent-ephemeral-rootfs, full-setup and wg-hive: ty and ruff F over nixpkgs' test-script prelude, the machine hints from the node names, and the script text. Node configs are never evaluated. vm-test-typecheck-control passes only when ty rejects a known type error.
This commit is contained in:
atlas 2026-11-13 08:07:04 +01:00 • committed by mara
commit 32f5b74ba4

View file

@ -573,3 +573,10 @@ in
touch "$out"
'';
}
// import ./vm-test-typecheck.nix {
inherit pkgs;
vmTests = import ./vm-tests.nix {
inherit pkgs self;
hivePriv = self.packages.${system}.hive-priv;
};
}