diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4af48d064..9ac7ebb6a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -48,7 +48,7 @@ jobs: - name: Test with pytest if: always() run: | - pytest test + pytest test -n auto - name: Test build if: always() diff --git a/pyproject.toml b/pyproject.toml index 872f50ce0..857f3b7ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ repository = "https://github.com/tableau/server-client-python" [project.optional-dependencies] test = ["black==24.10", "build", "mypy==1.4", "pytest>=7.0", "pytest-cov", "pytest-subtests", - "requests-mock>=1.0,<2.0", "types-requests>=2.32.4.20250913"] + "pytest-xdist", "requests-mock>=1.0,<2.0", "types-requests>=2.32.4.20250913"] [tool.black] line-length = 120 target-version = ['py39', 'py310', 'py311', 'py312', 'py313']