--- name: Python Tests on: workflow_dispatch: push: branches: - main - dev_27 pull_request: permissions: contents: read concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: pytest: name: pytest (Python ${{ matrix.python-version }}) runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: ["3.12", "3.13"] steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.1 - name: Set up Python uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: requirements-dev.txt - name: Install dependencies run: python -m pip install --upgrade -r requirements-dev.txt - name: Run unit tests run: > python -m pytest -v -m "not integration" --cov - name: Run integration tests run: python -m pytest -v -m integration