File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99jobs :
1010 test :
11- name : Ubuntu / ${{ matrix.python-version }}
11+ name : Ubuntu / ${{ matrix.python-version }} / ${{ matrix.resolution }}
1212 runs-on : ubuntu-latest
1313 strategy :
14+ fail-fast : false
1415 matrix :
1516 python-version : ["3.10", "3.11", "3.12", "3.13"]
16- fail-fast : false
17+ resolution : ["lowest-direct", "highest"]
1718
1819 steps :
1920 - name : Checkout code
@@ -46,17 +47,17 @@ jobs:
4647
4748 - name : Build package
4849 run : |
49- uv sync
50+ uv sync --resolution ${{ matrix.resolution }}
5051 uv pip install -ve . --no-build-isolation
5152
5253 - name : Run tests and collect coverage
5354 run : |
54- uv run pytest --cov -v -s --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
55- uv run coverage report
55+ uv run --frozen pytest --cov -v -s --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
56+ uv run --frozen coverage report
5657
5758 - name : Run example
5859 run : |
59- uv run ./tests/example5.py
60+ uv run --frozen ./tests/example5.py
6061
6162 - name : Upload coverage to Codecov
6263 if : ${{ matrix.python-version == '3.10' }}
You can’t perform that action at this time.
0 commit comments