Run tests in parallel with pytest-xdist

This commit is contained in:
Hugo van Kemenade 2025-05-25 23:26:33 +03:00
parent 8494b06c71
commit dd7cfdc641

View File

@ -73,6 +73,7 @@ optional-dependencies.tests = [
"pyroma>=5",
"pytest",
"pytest-cov",
"pytest-sugar",
"pytest-timeout",
"pytest-xdist",
"trove-classifiers>=2024.10.12",
@ -208,7 +209,7 @@ lint.isort.required-imports = [
max_supported_python = "3.14"
[tool.pytest.ini_options]
addopts = "-ra --color=auto"
addopts = "-ra --color=auto --numprocesses=auto"
testpaths = [
"Tests",
]