Skip to content

Commit 52c8993

Browse files
committed
Add default pytest timeout and increase verbosity for debugging.
1 parent eba13c7 commit 52c8993

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

{{cookiecutter.project_slug}}/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ format:
4444

4545
.PHONY: test
4646
test:
47-
uv run pytest --cov=$(PY_IMPORT) $(T) $(TEST_ARGS)
47+
uv run pytest -svv --timeout=300 --cov=$(PY_IMPORT) $(T) $(TEST_ARGS)
4848
uv run coverage report -m $(COV_ARGS)
4949

5050
.PHONY: doc

{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ doc = [
3232
"pdoc"
3333
{%- endif -%}
3434
]
35-
test = ["pytest", "pytest-cov", "pretend", "coverage[toml]"]
35+
test = ["pytest", "pytest-cov", "pytest-timeout", "pretend", "coverage[toml]"]
3636
lint = [
3737
# NOTE: ruff is under active development, so we pin conservatively here
3838
# and let Dependabot periodically perform this update.

0 commit comments

Comments
 (0)