Switch to latest CI images (#9773)

This commit is contained in:
Adriane Boyd 2021-11-30 10:08:51 +01:00 committed by GitHub
parent 1be8a4dab3
commit c19f0c1604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ jobs:
# defined in .flake8 and overwrites the selected codes. # defined in .flake8 and overwrites the selected codes.
- job: "Validate" - job: "Validate"
pool: pool:
vmImage: "ubuntu-18.04" vmImage: "ubuntu-latest"
steps: steps:
- task: UsePythonVersion@0 - task: UsePythonVersion@0
inputs: inputs:
@ -39,49 +39,49 @@ jobs:
matrix: matrix:
# We're only running one platform per Python version to speed up builds # We're only running one platform per Python version to speed up builds
Python36Linux: Python36Linux:
imageName: "ubuntu-18.04" imageName: "ubuntu-latest"
python.version: "3.6" python.version: "3.6"
# Python36Windows: # Python36Windows:
# imageName: "windows-2019" # imageName: "windows-latest"
# python.version: "3.6" # python.version: "3.6"
# Python36Mac: # Python36Mac:
# imageName: "macos-10.14" # imageName: "macos-latest"
# python.version: "3.6" # python.version: "3.6"
# Python37Linux: # Python37Linux:
# imageName: "ubuntu-18.04" # imageName: "ubuntu-latest"
# python.version: "3.7" # python.version: "3.7"
Python37Windows: Python37Windows:
imageName: "windows-2019" imageName: "windows-latest"
python.version: "3.7" python.version: "3.7"
# Python37Mac: # Python37Mac:
# imageName: "macos-10.14" # imageName: "macos-latest"
# python.version: "3.7" # python.version: "3.7"
# Python38Linux: # Python38Linux:
# imageName: "ubuntu-18.04" # imageName: "ubuntu-latest"
# python.version: "3.8" # python.version: "3.8"
# Python38Windows: # Python38Windows:
# imageName: "windows-2019" # imageName: "windows-latest"
# python.version: "3.8" # python.version: "3.8"
Python38Mac: Python38Mac:
imageName: "macos-10.14" imageName: "macos-latest"
python.version: "3.8" python.version: "3.8"
Python39Linux: Python39Linux:
imageName: "ubuntu-18.04" imageName: "ubuntu-latest"
python.version: "3.9" python.version: "3.9"
# Python39Windows: # Python39Windows:
# imageName: "windows-2019" # imageName: "windows-latest"
# python.version: "3.9" # python.version: "3.9"
# Python39Mac: # Python39Mac:
# imageName: "macos-10.14" # imageName: "macos-latest"
# python.version: "3.9" # python.version: "3.9"
Python310Linux: Python310Linux:
imageName: "ubuntu-20.04" imageName: "ubuntu-latest"
python.version: "3.10" python.version: "3.10"
Python310Windows: Python310Windows:
imageName: "windows-2019" imageName: "windows-latest"
python.version: "3.10" python.version: "3.10"
Python310Mac: Python310Mac:
imageName: "macos-10.15" imageName: "macos-latest"
python.version: "3.10" python.version: "3.10"
maxParallel: 4 maxParallel: 4
pool: pool: