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

39 lines
761 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-11-30 21:55:54 +01:00
"3.6": # lowest Python version
python.version: '3.6'
2018-08-24 22:09:32 +02:00
python.architecture: x64
"3.8":
python.version: '3.8'
2018-08-24 22:09:32 +02:00
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.7":
2018-08-24 22:09:32 +02:00
python.version: '3.7'
python.architecture: x64
2019-11-09 13:22:41 +01:00
maxParallel: 4
2018-08-24 22:09:32 +02:00
steps:
- template: ../steps/run-tests.yml