Skip to content

Commit 1b76bb2

Browse files
committed
test against low and high deps
1 parent e62ab13 commit 1b76bb2

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/test-linux.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ on:
88

99
jobs:
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' }}

0 commit comments

Comments
 (0)