1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Azure Pipelines: Drop useVenv

This wasn't actually ever used, since the value was always '$(useVenv)'.
This commit is contained in:
Pradyun Gedam 2020-04-12 19:22:24 +05:30
parent 4416e88ef1
commit 72c0cf4197
No known key found for this signature in database
GPG key ID: DA17C4B29CB32E4B
2 changed files with 1 additions and 8 deletions

View file

@ -15,14 +15,12 @@ jobs:
Python27-x64: Python27-x64:
python.version: '2.7' python.version: '2.7'
python.architecture: x64 python.architecture: x64
useVenv: true
Python35-x64: Python35-x64:
python.version: '3.5' python.version: '3.5'
python.architecture: x64 python.architecture: x64
Python36-x64: Python36-x64:
python.version: '3.6' python.version: '3.6'
python.architecture: x64 python.architecture: x64
useVenv: true
Python37-x64: Python37-x64:
python.version: '3.7' python.version: '3.7'
python.architecture: x64 python.architecture: x64
@ -35,7 +33,6 @@ jobs:
- template: ../steps/run-tests-windows.yml - template: ../steps/run-tests-windows.yml
parameters: parameters:
runIntegrationTests: true runIntegrationTests: true
useVenv: '$(useVenv)'
- job: Test_Secondary - job: Test_Secondary
displayName: Test Secondary displayName: Test Secondary

View file

@ -1,6 +1,5 @@
parameters: parameters:
runIntegrationTests: runIntegrationTests:
useVenv: false
steps: steps:
- task: UsePythonVersion@0 - task: UsePythonVersion@0
@ -44,11 +43,8 @@ steps:
# https://bugs.python.org/issue18199 # https://bugs.python.org/issue18199
$env:TEMP = "R:\Temp" $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 displayName: Tox run integration tests
env:
${{ if eq(parameters.useVenv, 'true') }}:
USE_VENV_ARG: "--use-venv"
- task: PublishTestResults@2 - task: PublishTestResults@2
displayName: Publish Test Results displayName: Publish Test Results