diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 25ec9503..2e050f60 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,9 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, macos-14, windows-latest] - python-version: ["3.10", "3.12"] + version: + - { python: "3.10", resolution: highest } + - { python: "3.12", resolution: lowest-direct } runs-on: ${{ matrix.os }} steps: @@ -23,7 +25,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: ${{ matrix.version.python }} cache: pip cache-dependency-path: pyproject.toml @@ -36,7 +38,7 @@ jobs: python setup.py build_ext --inplace - uv pip install -e .[test] --system + uv pip install -e .[test] --system --${{ matrix.version.resolution }} - name: Run Tests run: pytest --capture=no --cov --cov-report=xml