File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,8 +3,16 @@ install:
33 uv sync --all-groups
44
55# Run tests
6- test :
7- uv run --group test pytest --cov=src --cov=tests --cov-report=xml
6+ test * args = " ":
7+ uv run --group test pytest --cov=src --cov=tests --cov-report=xml --timeout=30 {{ args}}
8+
9+ # Run tests with lowest dependency resolution
10+ test-lowest * args = " ":
11+ uv run --group test --resolution lowest-direct pytest --timeout=30 {{ args}}
12+
13+ # Run tests with highest dependency resolution
14+ test-highest * args = " ":
15+ uv run --group test --resolution highest pytest --timeout=30 {{ args}}
816
917# Run type checking
1018typing :
@@ -24,11 +32,3 @@ docs-serve:
2432
2533# Run all checks (format, lint, typing, test)
2634check : lint typing test
27-
28- # Run tests with lowest dependency resolution
29- test-lowest :
30- uv run --group test --resolution lowest-direct pytest
31-
32- # Run tests with highest dependency resolution
33- test-highest :
34- uv run --group test --resolution highest pytest
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ test = [
4545 " nbmake" ,
4646 " pytest>=8.4.0" ,
4747 " pytest-cov>=5.0.0" ,
48+ " pytest-timeout>=2.4.0" ,
4849 {include-group = " coiled" },
4950 {include-group = " dask" },
5051]
You can’t perform that action at this time.
0 commit comments