Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
trigger:
- main

pool:
vmImage: ubuntu-latest

steps:
- script: |
for version in 3.8 3.9 3.10 3.11; do
echo "Setting up Python $version"
echo "##[group]Test Python $version"
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install pytest pytest-azurepipelines
pytest
echo "##[endgroup]"
done
displayName: 'Test all Python versions sequentially'