Skip to content

Commit

Permalink
Merge pull request #336441 from devusb/aws-sso-fix
Browse files Browse the repository at this point in the history
aws-sso-cli: skip broken TestServerWithSSL
  • Loading branch information
fabianhjr authored Aug 23, 2024
2 parents b38c39c + 2fd6f26 commit 06f723d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pkgs/by-name/aw/aws-sso-cli/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 06f723d

Please sign in to comment.