From 73cad96b6f0fe4fa51208f9416a2efb76ec61686 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Mon, 31 Mar 2025 04:04:39 -0400 Subject: [PATCH] add gitea ref tests --- nixos-tests.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nixos-tests.nix b/nixos-tests.nix index cf50f38c..948359b0 100644 --- a/nixos-tests.nix +++ b/nixos-tests.nix @@ -273,9 +273,19 @@ in } ) prJobNames ); + rels = builtins.fromJSON (builtins.readFile releases); + relJobNames = builtins.attrNames rels; + relJobset = builtins.listToAttrs ( + map ( + name: { + inherit name; + value = genDrv name; + } + ) relJobNames + ); in { trivial = genDrv "trivial"; - } // prJobset + } // prJobset // relJobset ''; in ''