Skip to content

Commit 2a168f6

Browse files
committed
build: add pytest-xdist for parallel test execution
1 parent c9f34b5 commit 2a168f6

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

‎pyproject.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ dev = [
3737
"pytest>=8,<9",
3838
"pytest-asyncio>=0.24,<1",
3939
"pytest-cov>=6,<7",
40+
"pytest-xdist>=3,<4",
4041
"ruff>=0.8,<1",
4142
"taskipy>=1.14,<2",
4243
"pre-commit>=4,<5",
@@ -145,7 +146,7 @@ asyncio_mode = "auto"
145146
python_files = ["*_test.py", "test_*.py"]
146147
python_classes = ["Test*"]
147148
python_functions = ["test_*"]
148-
addopts = "-v --strict-markers -m 'not integration and not live'"
149+
addopts = "-v --strict-markers -m 'not integration and not live' -n auto"
149150
markers = [
150151
"integration: marks tests requiring external services",
151152
"live: marks tests requiring live network access",

‎uv.lock‎

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)