File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,18 @@ jobs:
3030 SKIP : no-commit-to-branch
3131
3232 test :
33+ name : test (${{ matrix.python-version }}, ${{ matrix.dep-resolution.name }}, ${{ matrix.os }})
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,10 +54,12 @@ jobs:
4954 version : 0.9.5
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
55- run : uv run --frozen --no-sync pytest
60+ run : uv run ${{ matrix.dep-resolution.install-flags }} --no-sync pytest
61+ env :
62+ UV_RESOLUTION : ${{ matrix.dep-resolution.name == 'lowest-direct' && 'lowest-direct' || 'highest' }}
5663
5764 readme-snippets :
5865 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments