Skip to content

Release Azure Pipeline Extension v1.1.0 #1034

Release Azure Pipeline Extension v1.1.0

Release Azure Pipeline Extension v1.1.0 #1034

Workflow file for this run

name: Test-Python
on:
pull_request:
branches: [ master ]
jobs:
test-python:
runs-on: ${{ matrix.python-version == '3.8' && 'ubuntu-22.04' || 'ubuntu-latest' }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
defaults:
run:
working-directory: ./sdk/python/core
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
python3 -m pip install pytest pytest-cov setuptools
python3 -m pip install -e .
- name: Run tests
run: |
pytest