test: add NixOS VM test for pi-agent module

This commit is contained in:
Chiron
2026-04-15 18:47:34 +00:00
parent 4935fcb9ee
commit 9a8107ea90
2 changed files with 119 additions and 0 deletions

View File

@@ -105,6 +105,13 @@
${pkgs.alejandra}/bin/alejandra --check ${./.}
touch $out
'';
# NixOS VM test for pi-agent module (x86_64-linux only)
pi-agent-vm-test =
if system == "x86_64-linux"
then
pkgs.nixosTest (import ./tests/nixos/pi-agent-test.nix {inherit pkgs;})
else {};
});
# Templates for creating new packages/modules