From 79b78c013b05a39f7917d17ce66ff5b9406f04ab Mon Sep 17 00:00:00 2001 From: Janosh Riebesell Date: Fri, 31 May 2024 17:37:35 -0400 Subject: [PATCH] test both lowest-direct and highest uv package resolutions --- .github/workflows/test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 25ec9503..c4fabe05 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 --resolution=${{ matrix.version.resolution }} - name: Run Tests run: pytest --capture=no --cov --cov-report=xml