Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ lint:
uv run pyright src tests

unit *OPTS:
uv run pytest tests/unit_tests {{ OPTS }}
uv run pytest -n logical tests/unit_tests {{ OPTS }}

system *OPTS:
uv run pytest tests/system_tests {{ OPTS }}
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ dev = [
"deepdiff",
"tiled[minimal-server]>=0.2.4", # For system-test of dls.py
"respx",
"pytest-xdist[psutil]",
]

[project.scripts]
Expand Down Expand Up @@ -102,7 +103,7 @@ filterwarnings = ["error", "ignore::DeprecationWarning"]
# Doctest python code in docs, python code in src docstrings, test functions in tests
testpaths = "docs src tests"
asyncio_mode = "auto"
timeout = 3
timeout = 10

@ZohebShaikh ZohebShaikh Jun 25, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think when tests are running in a different core sometimes it takes longer for the same test to complete which needs this extra timeout.
Might need to look if this can be optimized any further


[tool.coverage.run]
patch = ["subprocess"]
Expand Down Expand Up @@ -155,6 +156,8 @@ description = "Run unit tests with coverage"
commands = [
[
"pytest",
"-n",
"logical",
"tests/unit_tests",
"--cov=blueapi",
"--cov-report",
Expand Down
57 changes: 57 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading