2018-10-01 14:24:40 +02:00
|
|
|
parameters:
|
2018-10-05 21:58:56 +02:00
|
|
|
vmImage:
|
2018-10-01 14:24:40 +02:00
|
|
|
|
|
|
|
jobs:
|
2018-10-05 22:45:15 +02:00
|
|
|
- job: Test_Primary
|
2018-10-01 14:24:40 +02:00
|
|
|
displayName: Test Primary
|
|
|
|
|
2018-10-05 21:58:56 +02:00
|
|
|
pool:
|
|
|
|
vmImage: ${{ parameters.vmImage }}
|
2018-10-01 14:24:40 +02:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2019-07-26 00:30:44 +02:00
|
|
|
Python27-x86:
|
2018-10-01 14:24:40 +02:00
|
|
|
python.version: '2.7'
|
2019-07-26 00:30:44 +02:00
|
|
|
python.architecture: x86
|
2020-01-07 01:10:00 +01:00
|
|
|
Python27-x64:
|
|
|
|
python.version: '2.7'
|
|
|
|
python.architecture: x64
|
|
|
|
useVenv: true
|
2019-10-29 14:17:25 +01:00
|
|
|
Python35-x64:
|
|
|
|
python.version: '3.5'
|
|
|
|
python.architecture: x64
|
2020-01-07 01:10:00 +01:00
|
|
|
Python36-x64:
|
|
|
|
python.version: '3.6'
|
|
|
|
python.architecture: x64
|
|
|
|
useVenv: true
|
2019-07-26 13:28:33 +02:00
|
|
|
Python37-x64:
|
|
|
|
python.version: '3.7'
|
2018-10-01 14:24:40 +02:00
|
|
|
python.architecture: x64
|
2019-11-09 12:32:03 +01:00
|
|
|
Python38-x64:
|
|
|
|
python.version: '3.8'
|
|
|
|
python.architecture: x64
|
|
|
|
maxParallel: 6
|
2018-10-01 14:24:40 +02:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ../steps/run-tests-windows.yml
|
|
|
|
parameters:
|
|
|
|
runIntegrationTests: true
|
2020-01-07 01:10:00 +01:00
|
|
|
useVenv: '$(useVenv)'
|
2018-10-01 14:24:40 +02:00
|
|
|
|
|
|
|
- job: Test_Secondary
|
|
|
|
displayName: Test Secondary
|
|
|
|
# Don't run integration tests for these runs
|
|
|
|
# Run after Test_Primary so we don't devour time and jobs if tests are going to fail
|
2018-10-05 22:49:01 +02:00
|
|
|
dependsOn: Test_Primary
|
2018-10-01 14:24:40 +02:00
|
|
|
|
2018-10-05 21:58:56 +02:00
|
|
|
pool:
|
|
|
|
vmImage: ${{ parameters.vmImage }}
|
2018-10-01 14:24:40 +02:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
# This is for Windows, so test x86 builds
|
|
|
|
Python35-x86:
|
|
|
|
python.version: '3.5'
|
|
|
|
python.architecture: x86
|
|
|
|
Python36-x86:
|
|
|
|
python.version: '3.6'
|
|
|
|
python.architecture: x86
|
|
|
|
Python37-x86:
|
|
|
|
python.version: '3.7'
|
|
|
|
python.architecture: x86
|
2019-11-09 12:32:03 +01:00
|
|
|
Python38-x86:
|
|
|
|
python.version: '3.8'
|
|
|
|
python.architecture: x86
|
|
|
|
maxParallel: 6
|
2018-10-01 14:24:40 +02:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- template: ../steps/run-tests-windows.yml
|
|
|
|
parameters:
|
|
|
|
runIntegrationTests: false
|