Skip to content

Commit

Permalink
Azure Pipelines: Use better names
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Apr 12, 2020
1 parent 4416e88 commit e35bff4
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
1 change: 1 addition & 0 deletions .azure-pipelines/jobs/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ parameters:

jobs:
- job: Package
name: Packaging
dependsOn:
- Test_Primary
- Test_Secondary
Expand Down
24 changes: 12 additions & 12 deletions .azure-pipelines/jobs/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,30 @@ parameters:

jobs:
- job: Test_Primary
displayName: Test Primary
displayName: Tests /

pool:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
Python27-x86:
"2.7-x86":
python.version: '2.7'
python.architecture: x86
Python27-x64:
"2.7":
python.version: '2.7'
python.architecture: x64
useVenv: true
Python35-x64:
"3.5":
python.version: '3.5'
python.architecture: x64
Python36-x64:
"3.6":
python.version: '3.6'
python.architecture: x64
useVenv: true
Python37-x64:
"3.7":
python.version: '3.7'
python.architecture: x64
Python38-x64:
"3.8":
python.version: '3.8'
python.architecture: x64
maxParallel: 6
Expand All @@ -38,7 +38,7 @@ jobs:
useVenv: '$(useVenv)'

- job: Test_Secondary
displayName: Test Secondary
displayName: Tests /
# 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
dependsOn: Test_Primary
Expand All @@ -48,16 +48,16 @@ jobs:
strategy:
matrix:
# This is for Windows, so test x86 builds
Python35-x86:
"3.5-x86":
python.version: '3.5'
python.architecture: x86
Python36-x86:
"3.6-x86":
python.version: '3.6'
python.architecture: x86
Python37-x86:
"3.7-x86":
python.version: '3.7'
python.architecture: x86
Python38-x86:
"3.8-x86":
python.version: '3.8'
python.architecture: x86
maxParallel: 6
Expand Down
14 changes: 7 additions & 7 deletions .azure-pipelines/jobs/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ parameters:

jobs:
- job: Test_Primary
displayName: Test Primary
displayName: Tests /

pool:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
Python27:
"2.7":
python.version: '2.7'
python.architecture: x64
Python36:
"3.6":
python.version: '3.6'
python.architecture: x64
maxParallel: 2
Expand All @@ -21,21 +21,21 @@ jobs:
- template: ../steps/run-tests.yml

- job: Test_Secondary
displayName: Test Secondary
displayName: Tests /
# 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:
Python35:
"3.5":
python.version: '3.5'
python.architecture: x64
Python37:
"3.7":
python.version: '3.7'
python.architecture: x64
Python38:
"3.8":
python.version: '3.8'
python.architecture: x64
maxParallel: 4
Expand Down

0 comments on commit e35bff4

Please sign in to comment.