Fix CI highest resolution test to actually test highest versions (#1609)
Some checks failed
Main branch checks / checks (push) Has been cancelled

This commit is contained in:
Max Isbey 2025-11-13 20:25:43 +00:00 • committed by GitHub
commit 9724ad1ce6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,9 +38,9 @@ jobs:
python-version: ["3.10", "3.11", "3.12", "3.13"]
dep-resolution:
- name: lowest-direct
install-flags: "--resolution lowest-direct"
install-flags: "--upgrade --resolution lowest-direct"
- name: highest
install-flags: "--frozen"
install-flags: "--upgrade --resolution highest"
os: [ubuntu-latest, windows-latest]
steps:
@ -57,11 +57,9 @@ jobs:
- name: Run pytest with coverage
run: |
uv run ${{ matrix.dep-resolution.install-flags }} --no-sync coverage run -m pytest
uv run ${{ matrix.dep-resolution.install-flags }} --no-sync coverage combine
uv run ${{ matrix.dep-resolution.install-flags }} --no-sync coverage report
env:
UV_RESOLUTION: ${{ matrix.dep-resolution.name == 'lowest-direct' && 'lowest-direct' || 'highest' }}
uv run --frozen --no-sync coverage run -m pytest
uv run --frozen --no-sync coverage combine
uv run --frozen --no-sync coverage report
readme-snippets:
runs-on: ubuntu-latest