From 927ea73da2260c77c2defc4a74cbac53ee2a30e6 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Sun, 12 Apr 2020 19:22:24 +0530 Subject: [PATCH] Azure Pipelines: Drop useVenv --- .azure-pipelines/jobs/test-windows.yml | 3 --- .azure-pipelines/steps/run-tests-windows.yml | 6 +----- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.azure-pipelines/jobs/test-windows.yml b/.azure-pipelines/jobs/test-windows.yml index c804dbb9a68..2d1166f4e37 100644 --- a/.azure-pipelines/jobs/test-windows.yml +++ b/.azure-pipelines/jobs/test-windows.yml @@ -15,14 +15,12 @@ jobs: "2.7": python.version: '2.7' python.architecture: x64 - useVenv: true "3.5": python.version: '3.5' python.architecture: x64 "3.6": python.version: '3.6' python.architecture: x64 - useVenv: true "3.7": python.version: '3.7' python.architecture: x64 @@ -35,7 +33,6 @@ jobs: - template: ../steps/run-tests-windows.yml parameters: runIntegrationTests: true - useVenv: '$(useVenv)' - job: Test_Secondary displayName: Tests / diff --git a/.azure-pipelines/steps/run-tests-windows.yml b/.azure-pipelines/steps/run-tests-windows.yml index 3832e46621b..a65136289ab 100644 --- a/.azure-pipelines/steps/run-tests-windows.yml +++ b/.azure-pipelines/steps/run-tests-windows.yml @@ -1,6 +1,5 @@ parameters: runIntegrationTests: - useVenv: false steps: - task: UsePythonVersion@0 @@ -44,11 +43,8 @@ steps: # https://bugs.python.org/issue18199 $env:TEMP = "R:\Temp" - tox -e py -- $env:USE_VENV_ARG -m integration -n auto --duration=5 --junit-xml=junit/integration-test.xml + tox -e py -- -m integration -n auto --duration=5 --junit-xml=junit/integration-test.xml displayName: Tox run integration tests - env: - ${{ if eq(parameters.useVenv, 'true') }}: - USE_VENV_ARG: "--use-venv" - task: PublishTestResults@2 displayName: Publish Test Results