pip/.azure-pipelines/jobs/test.yml

45 lines
888 B
YAML
Raw Normal View History

2018-08-24 22:09:32 +02:00
parameters:
vmImage:
jobs:
- job: Test_Primary
2020-04-12 15:51:36 +02:00
displayName: Tests /
2018-08-24 22:09:32 +02:00
pool:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
2020-04-12 15:51:36 +02:00
"2.7":
2018-08-24 22:09:32 +02:00
python.version: '2.7'
python.architecture: x64
2020-04-12 15:51:36 +02:00
"3.6":
2018-08-24 22:09:32 +02:00
python.version: '3.6'
python.architecture: x64
maxParallel: 2
steps:
- template: ../steps/run-tests.yml
2018-08-24 22:09:32 +02:00
- job: Test_Secondary
2020-04-12 15:51:36 +02:00
displayName: Tests /
2018-08-24 22:09:32 +02:00
# Run after Test_Primary so we don't devour time and jobs if tests are going to fail
dependsOn: Test_Primary
pool:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
2020-04-12 15:51:36 +02:00
"3.5":
2018-08-24 22:09:32 +02:00
python.version: '3.5'
python.architecture: x64
2020-04-12 15:51:36 +02:00
"3.7":
2018-08-24 22:09:32 +02:00
python.version: '3.7'
python.architecture: x64
2020-04-12 15:51:36 +02:00
"3.8":
2019-11-09 13:22:41 +01:00
python.version: '3.8'
python.architecture: x64
maxParallel: 4
2018-08-24 22:09:32 +02:00
steps:
- template: ../steps/run-tests.yml