Skip to content

Commit 220dc23

Browse files
committed
Justfile: Add test-single task
Only tests the current python version
1 parent ef57443 commit 220dc23

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Justfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ test: mypy _check && check-format
22
# Testing project
33
@just _test
44

5+
# Run test just on the current python version
6+
test-single:
7+
# Test on current python version
8+
uv run pytest
9+
510
check: mypy _check && check-format
611

712
# runs additional checks
@@ -19,9 +24,7 @@ mypy:
1924
uv run mypy src
2025

2126
# runs tests without anything else
22-
_test:
23-
# Test on current python version
24-
uv run pytest
27+
_test: test-single
2528
@just _test_ver 3.13
2629
@just _test_ver 3.12
2730
@just _test_ver 3.11

0 commit comments

Comments
 (0)