add nixos module test

This is very basic for now, just ensures that the grapevine systemd unit
is able to start. Config validation plus the federation self-test should
hopefully still be able to catch some issues this way.
This commit is contained in:
Olivia Lee 2025-04-06 21:41:51 -07:00
parent 6cb7896e17
commit 1b06a1842c
No known key found for this signature in database
GPG key ID: 54D568A15B9CD1F9
2 changed files with 70 additions and 0 deletions

View file

@ -128,6 +128,10 @@
devShells.all-features = ((mkScope pkgs).overrideDefaultPackage {
all-features = true;
}).shell;
checks.nixosModule = pkgs.testers.runNixOSTest {
imports = [ (import ./nix/tests/default.nix inputs) ];
};
}
)
//