Skip to content

Commit ffac772

Browse files
committed
Use proper sync resolution in CI
1 parent 07ae8c0 commit ffac772

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/shared.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,18 @@ jobs:
3030
SKIP: no-commit-to-branch
3131

3232
test:
33+
name: Test (${{ matrix.python-version }}) (${{ matrix.os }}) (${{ matrix.dep-resolution.name }})
3334
runs-on: ${{ matrix.os }}
3435
timeout-minutes: 10
3536
continue-on-error: true
3637
strategy:
3738
matrix:
3839
python-version: ["3.10", "3.11", "3.12", "3.13"]
39-
dep-resolution: ["lowest-direct", "highest"]
40+
dep-resolution:
41+
- name: lowest-direct
42+
install-flags: "--resolution lowest-direct"
43+
- name: highest
44+
install-flags: "--frozen"
4045
os: [ubuntu-latest, windows-latest]
4146

4247
steps:
@@ -49,7 +54,7 @@ jobs:
4954
version: 0.7.2
5055

5156
- name: Install the project
52-
run: uv sync --frozen --all-extras --python ${{ matrix.python-version }} --resolution ${{ matrix.dep-resolution }}
57+
run: uv sync ${{ matrix.dep-resolution.install-flags }} --all-extras --python ${{ matrix.python-version }}
5358

5459
- name: Run pytest
5560
run: uv run --frozen --no-sync pytest

0 commit comments

Comments
 (0)