about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAdam C. Stephens <2071575+adamcstephens@users.noreply.github.com>2024-04-17 08:27:13 -0400
committerGitHub <noreply@github.com>2024-04-17 08:27:13 -0400
commit95db6c67d7fa6324302fcfc1848b09884a12d0ac (patch)
tree90e2186803fae1183029354f93c0e21dbda0a4d8 /pkgs
parentc9610778d48f64e4d82aec8f3ddf798b994e5001 (diff)
parent1ec3a5a4d560ca163fb0d7cbcfeae4f2b4717ef3 (diff)
Merge pull request #303149 from emilylange/forgejo-test-forgejo-actions
nixos/tests/forgejo: refactor and test Forgejo Actions workflow, nixos/gitea-actions-runner: set the `$HOME` environment variable
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/by-name/fo/forgejo-runner/package.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/by-name/fo/forgejo-runner/package.nix b/pkgs/by-name/fo/forgejo-runner/package.nix
index 10914f4d637f7..983a19455c4f9 100644
--- a/pkgs/by-name/fo/forgejo-runner/package.nix
+++ b/pkgs/by-name/fo/forgejo-runner/package.nix
@@ -3,6 +3,7 @@
 , fetchFromGitea
 , testers
 , forgejo-runner
+, nixosTests
 }:
 
 buildGoModule rec {
@@ -27,9 +28,12 @@ buildGoModule rec {
 
   doCheck = false; # Test try to lookup code.forgejo.org.
 
-  passthru.tests.version = testers.testVersion {
-    package = forgejo-runner;
-    version = src.rev;
+  passthru.tests = {
+    inherit (nixosTests.forgejo) sqlite3;
+    version = testers.testVersion {
+      package = forgejo-runner;
+      version = src.rev;
+    };
   };
 
   meta = with lib; {