Skip to content

Commit e87b14d

Browse files
committed
Run tests in parallel with pytest-xdist
1 parent bce9331 commit e87b14d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ optional-dependencies.tests = [
7070
"pytest",
7171
"pytest-cov",
7272
"pytest-timeout",
73+
"pytest-xdist",
7374
"trove-classifiers>=2024.10.12",
7475
]
7576

@@ -167,7 +168,7 @@ lint.isort.required-imports = [
167168
max_supported_python = "3.13"
168169

169170
[tool.pytest.ini_options]
170-
addopts = "-ra --color=yes"
171+
addopts = "-ra --color=yes --numprocesses=auto"
171172
testpaths = [
172173
"Tests",
173174
]

0 commit comments

Comments
 (0)