Skip to content

Commit

Permalink
Fix azure pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
pp81381 committed Dec 17, 2023
1 parent 9df2d25 commit d0bc5cb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,19 @@ jobs:

- job: 'Test'
pool:
vmImage: 'Ubuntu-16.04'
vmImage: 'ubuntu-latest'
strategy:
matrix:
Python37:
python.version: '3.7'
Python38:
python.version: '3.8'
Python311:
python.version: '3.11'
maxParallel: 4

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'
displayName: 'Use Python $(python.version)'

- script: python -m pip install --upgrade pip && pip install -r requirements.txt
displayName: 'Install dependencies'
Expand All @@ -42,13 +41,14 @@ jobs:
- job: 'Publish'
dependsOn: 'Test'
pool:
vmImage: 'Ubuntu-16.04'
vmImage: 'ubuntu-latest'

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
versionSpec: '3.11'
architecture: 'x64'
displayName: 'Use Python 3.11'

- script: python -m pip install --upgrade setuptools wheel
displayName: 'Install wheel and ensure that setuptools is up to date'
Expand Down

0 comments on commit d0bc5cb

Please sign in to comment.