File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,16 @@ install:
3
3
uv sync --all-groups
4
4
5
5
# 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}}
8
16
9
17
# Run type checking
10
18
typing :
@@ -24,11 +32,3 @@ docs-serve:
24
32
25
33
# Run all checks (format, lint, typing, test)
26
34
check : 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 = [
45
45
" nbmake" ,
46
46
" pytest>=8.4.0" ,
47
47
" pytest-cov>=5.0.0" ,
48
+ " pytest-timeout>=2.4.0" ,
48
49
{include-group = " coiled" },
49
50
{include-group = " dask" },
50
51
]
You can’t perform that action at this time.
0 commit comments