Skip to content

Commit 8325323

Browse files
fix: set UV_RESOLUTION=highest for highest tests to avoid empty value
Setting UV_RESOLUTION to empty string causes uv to fail with 'a value is required for --resolution' error.
1 parent bdcef56 commit 8325323

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/shared.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ jobs:
5959
- name: Run pytest
6060
run: uv run ${{ matrix.dep-resolution.install-flags }} --no-sync pytest
6161
env:
62-
UV_RESOLUTION: ${{ matrix.dep-resolution.name == 'lowest-direct' && 'lowest-direct' || '' }}
62+
# Set UV_RESOLUTION for lowest-direct so test subprocesses use same strategy
63+
UV_RESOLUTION: ${{ matrix.dep-resolution.name == 'lowest-direct' && 'lowest-direct' || 'highest' }}
6364

6465
readme-snippets:
6566
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)