From dd7cfdc641e30302c033baba8ecb03c4ed119739 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sun, 25 May 2025 23:26:33 +0300 Subject: [PATCH] Run tests in parallel with pytest-xdist --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f4514925d..db2474752 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", ]