Merge pull request #336441 from devusb/aws-sso-fix

aws-sso-cli: skip broken TestServerWithSSL
This commit is contained in:
Fabián Heredia Montiel 2024-08-23 11:58:32 -06:00 committed by GitHub
commit 06f723de83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,9 +32,14 @@ buildGoModule rec {
nativeCheckInputs = [ getent ];
checkFlags = [
"-skip=TestAWSConsoleUrl|TestAWSFederatedUrl"
] ++ lib.optionals stdenv.isDarwin [ "--skip=TestDetectShellBash" ];
checkFlags = let
skippedTests = [
"TestAWSConsoleUrl"
"TestAWSFederatedUrl"
"TestServerWithSSL" # https://github.com/synfinatic/aws-sso-cli/issues/1030 -- remove when version >= 2.x
] ++ lib.optionals stdenv.isDarwin [ "TestDetectShellBash" ];
in
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
meta = with lib; {
homepage = "https://github.com/synfinatic/aws-sso-cli";