aws-sso-cli: skip broken TestServerWithSSL

This commit is contained in:
Morgan Helton 2024-08-21 20:42:44 -05:00
parent f00f64f9df
commit 2fd6f26604
No known key found for this signature in database

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";