From 082fb6d40ca6a67da224c0fb793d7e2aea97580a Mon Sep 17 00:00:00 2001
From: ahuston-0 <aliceghuston@gmail.com>
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
         ''