nextcloud: disable tests for apps not supporting 33

This commit is contained in:
ibizaman 2026-03-09 00:27:00 +01:00 committed by Pierre Penninckx
parent d28c8d7b6a
commit 7611e99eaa

View file

@ -734,28 +734,30 @@ let
testScript = prometheusTestScript; testScript = prometheusTestScript;
}; };
versionedTests = v: { versionedTests =
"basic_${toString v}" = basicTest v; v:
{
"basic_${toString v}" = basicTest v;
"cron_${toString v}" = cronTest v; "cron_${toString v}" = cronTest v;
"backup_${toString v}" = backupTest v; "backup_${toString v}" = backupTest v;
"https_${toString v}" = httpsTest v; "https_${toString v}" = httpsTest v;
"previewGenerator_${toString v}" = previewGeneratorTest v; "previewGenerator_${toString v}" = previewGeneratorTest v;
"externalStorage_${toString v}" = externalStorageTest v; "externalStorage_${toString v}" = externalStorageTest v;
"memories_${toString v}" = memoriesTest v; "ldap_${toString v}" = ldapTest v;
"recognize_${toString v}" = recognizeTest v; "sso_${toString v}" = ssoTest v;
"ldap_${toString v}" = ldapTest v; "prometheus_${toString v}" = prometheusTest v;
}
"sso_${toString v}" = ssoTest v; // lib.optionalAttrs (v == 32) {
"memories_${toString v}" = memoriesTest v;
"prometheus_${toString v}" = prometheusTest v; "recognize_${toString v}" = recognizeTest v;
}; };
in in
lib.foldl (all: v: lib.mergeAttrs all (versionedTests v)) { } supportedVersion lib.foldl (all: v: lib.mergeAttrs all (versionedTests v)) { } supportedVersion