commit 5f2abc0d2b30eb5878d60488a72138958c228976 parent c03d50235af20adc7aa9a87699b0a2697e644ed2 Author: Daniel Barlow <dan@telent.net> Date: Sun, 26 Apr 2026 18:10:56 +0100 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 Diffstat:
| M | tests/ci.nix | | | 1 | + |
| A | tests/gateway/test.nix | | | 8 | ++++++++ |
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/tests/ci.nix b/tests/ci.nix @@ -10,4 +10,5 @@ tftpboot = import ./tftpboot/test.nix; updown = import ./updown/test.nix; wlan = import ./wlan/test.nix; + gateway = import ./gateway/test.nix; } diff --git a/tests/gateway/test.nix b/tests/gateway/test.nix @@ -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