diff --git a/.azure-pipelines/azure-pipelines-pr.yml b/.azure-pipelines/azure-pipelines-pr.yml index fdf9a3de..23c095dd 100644 --- a/.azure-pipelines/azure-pipelines-pr.yml +++ b/.azure-pipelines/azure-pipelines-pr.yml @@ -1,7 +1,7 @@ # This pipeline # 1. Runs when a PR is raised against working branch # 2. Makes sure working branch is in healthy state (run tests across platforms) -# 3. Run style check and code coverage +# 3. Run style check and code coverage test3 pr: - master @@ -19,6 +19,8 @@ jobs: inputs: versionSpec: '3.x' architecture: 'x64' + - script: pip install setuptools + displayName: 'install setuptools' - template: templates/setup-ci-machine.yml @@ -33,6 +35,10 @@ jobs: inputs: versionSpec: '3.x' architecture: 'x64' + - task: CmdLine@2 + displayName: 'Upgrade pip' + inputs: + script: python -m pip install --upgrade pip - template: templates/setup-ci-machine.yml @@ -60,7 +66,7 @@ jobs: - job: 'Run_Test_Mac' dependsOn : Build_Publish_Azure_CLI_Test_SDK pool: - vmImage: 'macOS-10.15' + vmImage: 'macOS-latest' steps: - template: templates/run-tests.yml @@ -70,7 +76,7 @@ jobs: - job: 'Run_Test_Mac_Azure_CLI_Released_Version' dependsOn : Build_Publish_Azure_CLI_Test_SDK pool: - vmImage: 'macOS-10.15' + vmImage: 'macOS-latest' steps: - template: templates/run-tests.yml @@ -96,7 +102,7 @@ jobs: - job: 'Code_Coverage' dependsOn: 'Build_Publish_Azure_CLI_Test_SDK' pool: - vmImage: 'macOS-10.15' + vmImage: 'macOS-latest' steps: - task: UsePythonVersion@0 @@ -133,7 +139,7 @@ jobs: - job: 'Run_Style_Check' pool: - vmImage: 'macOS-10.15' + vmImage: 'macOS-latest' steps: - task: UsePythonVersion@0 @@ -161,7 +167,7 @@ jobs: - job: 'Run_HelpText_Check' dependsOn: 'Build_Publish_Azure_CLI_Test_SDK' pool: - vmImage: 'macOS-10.15' + vmImage: 'macOS-latest' steps: - task: UsePythonVersion@0 @@ -188,7 +194,7 @@ jobs: - job: 'Run_Test_From_Old_Release' dependsOn : Build_Publish_Azure_CLI_Test_SDK pool: - vmImage: 'macOS-10.15' + vmImage: 'macOS-latest' steps: - script: git checkout Releases-0.26.0