diff --git a/appveyor-linux-binary.yml b/appveyor-linux-binary.yml index b64bc19f8f..39eaafe3ee 100644 --- a/appveyor-linux-binary.yml +++ b/appveyor-linux-binary.yml @@ -72,6 +72,7 @@ install: # Install pytest - sh: "pip3 install pytest" + # We currently need to install boto3 for pytest to work since we're ignoring a boto3 deprecation warning in the pytest configuration - sh: "pip3 install boto3" - sh: "pytest --version" @@ -150,8 +151,7 @@ build_script: - curl -L https://github.com/aws/aws-sam-cli/releases/download/sam-cli-nightly/aws-sam-cli-linux-x86_64.zip -o aws-sam-cli-linux-x86_64.zip - unzip aws-sam-cli-linux-x86_64.zip -d sam-installation - sudo ./sam-installation/install - - sam-nightly --version - - mv /usr/local/bin/sam-nightly /usr/local/bin/sam + - sudo mv /usr/local/bin/sam-nightly /usr/local/bin/sam - sam --version # Final clean up no matter success or failure