summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-01-17 21:42:33 -0500
committerJason R. Coombs <jaraco@jaraco.com>2021-01-17 21:42:33 -0500
commit7fe4a4054a92782a434d25d4ff85231537892c7f (patch)
tree97e0fe367703095c54f14253364efe74213cfee1 /pyproject.toml
parent5f3d12316dc4e3c3f638786668cee38ff5a73bd3 (diff)
downloadpython-setuptools-git-7fe4a4054a92782a434d25d4ff85231537892c7f.tar.gz
Rely on pytest-enabler to enable pytest-xdist when present and enabled.
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 0bc2a46f..4e80bdc1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -24,6 +24,9 @@ addopts = "--flake8"
[pytest.enabler.cov]
addopts = "--cov"
+[pytest.enabler.xdist]
+addopts = "-n auto"
+
[tool.towncrier]
package = "setuptools"
package_dir = "setuptools"