Skip to content

Commit 5d14632

Browse files
author
lucianaliorarountree-cmd
authored
Revert "Fix CI highest resolution test to actually test highest versions (#1609)"
This reverts commit 9724ad1.
1 parent 9724ad1 commit 5d14632

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/shared.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ jobs:
3838
python-version: ["3.10", "3.11", "3.12", "3.13"]
3939
dep-resolution:
4040
- name: lowest-direct
41-
install-flags: "--upgrade --resolution lowest-direct"
41+
install-flags: "--resolution lowest-direct"
4242
- name: highest
43-
install-flags: "--upgrade --resolution highest"
43+
install-flags: "--frozen"
4444
os: [ubuntu-latest, windows-latest]
4545

4646
steps:
@@ -57,9 +57,11 @@ jobs:
5757

5858
- name: Run pytest with coverage
5959
run: |
60-
uv run --frozen --no-sync coverage run -m pytest
61-
uv run --frozen --no-sync coverage combine
62-
uv run --frozen --no-sync coverage report
60+
uv run ${{ matrix.dep-resolution.install-flags }} --no-sync coverage run -m pytest
61+
uv run ${{ matrix.dep-resolution.install-flags }} --no-sync coverage combine
62+
uv run ${{ matrix.dep-resolution.install-flags }} --no-sync coverage report
63+
env:
64+
UV_RESOLUTION: ${{ matrix.dep-resolution.name == 'lowest-direct' && 'lowest-direct' || 'highest' }}
6365

6466
readme-snippets:
6567
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)