Skip to content

Commit 44a1152

Browse files
authored
chore: Pass optional args to pytest from just tasks (#1536)
Lets you pass additional options like `--cov` or `--lf`
1 parent 79e8914 commit 44a1152

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

justfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ lint:
2525
uv run prek run --all-files
2626
uv run pyright src tests
2727

28-
unit:
29-
uv run pytest tests/unit_tests
28+
unit *OPTS:
29+
uv run pytest tests/unit_tests {{ OPTS }}
3030

31-
system:
32-
uv run pytest tests/system_tests
31+
system *OPTS:
32+
uv run pytest tests/system_tests {{ OPTS }}

0 commit comments

Comments
 (0)