Skip to content

Commit 849cb9f

Browse files
committed
Run tests in parallel with pytest-xdist
1 parent 1457c60 commit 849cb9f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ optional-dependencies.tests = [
7373
"pyroma>=5",
7474
"pytest",
7575
"pytest-cov",
76+
"pytest-sugar",
7677
"pytest-timeout",
7778
"pytest-xdist",
7879
"trove-classifiers>=2024.10.12",
@@ -208,7 +209,7 @@ lint.isort.required-imports = [
208209
max_supported_python = "3.14"
209210

210211
[tool.pytest.ini_options]
211-
addopts = "-ra --color=auto"
212+
addopts = "-ra --color=auto --numprocesses=auto"
212213
testpaths = [
213214
"Tests",
214215
]

0 commit comments

Comments
 (0)