Skip to content

Commit

Permalink
test both lowest-direct and highest uv package resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed May 31, 2024
1 parent 01ff52b commit 79b78c0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 79b78c0

Please sign in to comment.