Skip to content

Commit

Permalink
Azure Pipelines: Drop useVenv
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Apr 12, 2020
1 parent e35bff4 commit 927ea73
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:
"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
Expand All @@ -35,7 +33,6 @@ jobs:
- template: ../steps/run-tests-windows.yml
parameters:
runIntegrationTests: true
useVenv: '$(useVenv)'

- job: Test_Secondary
displayName: Tests /
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 927ea73

Please sign in to comment.