forgejo-runner: only run passthru tests on linux

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss
2024-12-01 21:06:34 +01:00
parent 6e03fe786a
commit 8540239004
+4 -1
View File
@@ -1,4 +1,5 @@
{
stdenv,
lib,
buildGoModule,
fetchFromGitea,
@@ -45,7 +46,9 @@ buildGoModule rec {
passthru = {
updateScript = nix-update-script { };
tests.sqlite3 = nixosTests.forgejo.sqlite3;
tests = lib.optionalAttrs stdenv.hostPlatform.isLinux {
sqlite3 = nixosTests.forgejo.sqlite3;
};
};
meta = with lib; {