2
0

test that rotuer example builds

there is no test in CI that builds the firewall or any of those
modules, so this is temporary-ish to increase coverage
This commit is contained in:
2026-04-26 18:10:56 +01:00
parent c03d50235a
commit 5f2abc0d2b
2 changed files with 9 additions and 0 deletions

View File

@@ -10,4 +10,5 @@
tftpboot = import ./tftpboot/test.nix;
updown = import ./updown/test.nix;
wlan = import ./wlan/test.nix;
gateway = import ./gateway/test.nix;
}

8
tests/gateway/test.nix Normal file
View File

@@ -0,0 +1,8 @@
let
img =
(import <liminix> {
device = import <liminix/devices/gl-ar750>;
liminix-config = <liminix/examples/rotuer.nix>;
}).outputs.default;
pkgs = import <nixpkgs> { overlays = [ (import ../../overlay.nix) ]; };
in img