Use proper sync resolution in CI

This commit is contained in:
Marcelo Trylesinski
2025-08-30 17:01:10 -04:00
parent 07ae8c0d4e
commit ffac7724fe
+7 -2
View File
@@ -30,13 +30,18 @@ jobs:
SKIP: no-commit-to-branch
test:
name: Test (${{ matrix.python-version }}) (${{ matrix.os }}) (${{ matrix.dep-resolution.name }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
continue-on-error: true
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
dep-resolution: ["lowest-direct", "highest"]
dep-resolution:
- name: lowest-direct
install-flags: "--resolution lowest-direct"
- name: highest
install-flags: "--frozen"
os: [ubuntu-latest, windows-latest]
steps:
@@ -49,7 +54,7 @@ jobs:
version: 0.7.2
- name: Install the project
run: uv sync --frozen --all-extras --python ${{ matrix.python-version }} --resolution ${{ matrix.dep-resolution }}
run: uv sync ${{ matrix.dep-resolution.install-flags }} --all-extras --python ${{ matrix.python-version }}
- name: Run pytest
run: uv run --frozen --no-sync pytest