Skip to content

Commit

Permalink
Azure Pipelines: Drop useVenv
Browse files Browse the repository at this point in the history
This wasn't actually ever used, since the value was always '$(useVenv)'.
  • Loading branch information
pradyunsg committed Apr 12, 2020
1 parent 4416e88 commit 72c0cf4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions .azure-pipelines/jobs/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ jobs:
Python27-x64:
python.version: '2.7'
python.architecture: x64
useVenv: true
Python35-x64:
python.version: '3.5'
python.architecture: x64
Python36-x64:
python.version: '3.6'
python.architecture: x64
useVenv: true
Python37-x64:
python.version: '3.7'
python.architecture: x64
Expand All @@ -35,7 +33,6 @@ jobs:
- template: ../steps/run-tests-windows.yml
parameters:
runIntegrationTests: true
useVenv: '$(useVenv)'

- job: Test_Secondary
displayName: Test Secondary
Expand Down
6 changes: 1 addition & 5 deletions .azure-pipelines/steps/run-tests-windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
parameters:
runIntegrationTests:
useVenv: false

steps:
- task: UsePythonVersion@0
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 72c0cf4

Please sign in to comment.