git-bug: enable package tests (#471272)

This commit is contained in:
Aleksana
2025-12-16 09:51:01 +00:00
committed by GitHub
+19 -1
View File
@@ -2,6 +2,7 @@
lib,
buildGoModule,
fetchFromGitHub,
gitMinimal,
installShellFiles,
}:
@@ -20,7 +21,24 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ];
doCheck = false;
nativeCheckInputs = [
gitMinimal
];
checkFlags =
let
integrationTests = [
"TestValidateUsername/existing_organisation"
"TestValidateUsername/existing_organisation_with_bad_case"
"TestValidateUsername/existing_username"
"TestValidateUsername/existing_username_with_bad_case"
"TestValidateUsername/non_existing_username"
"TestValidateProject/public_project"
];
in
[
"-skip=^${lib.concatStringsSep "$|^" integrationTests}$"
];
excludedPackages = [
"doc"