Skip to content

scope unit test and add test ci #6

scope unit test and add test ci

scope unit test and add test ci #6

Workflow file for this run

name: Run Azure integration tests
on: [push, pull_request]
permissions:
id-token: write
contents: read
jobs:
azure-test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
runs-on: ${{ matrix.os }}
timeout-minutes: 5
environment: azure
steps:
- name: 'Az CLI login'
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Install the project
run: uv sync --all-extras --dev
- name: Run tests
run: uv run pytest -n auto tests/integration