Unverified Commit 06f723de authored by Fabián Heredia Montiel's avatar Fabián Heredia Montiel Committed by GitHub
Browse files

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

aws-sso-cli: skip broken TestServerWithSSL
parents b38c39cd 2fd6f266
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -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";