Skip to content

Commit 3abb278

Browse files
authored
Merge pull request #83 from transientskp/use_pytest_xdist
Faster testing using pytest-xdist
2 parents 0ccaa23 + 723fc7e commit 3abb278

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
@@ -53,6 +53,7 @@ packages = ["sourcefinder"]
5353
extra-dependencies = [
5454
"pytest",
5555
"pytest-cov",
56+
"pytest-xdist",
5657
]
5758

5859
[tool.hatch.envs.default_310]
@@ -73,7 +74,7 @@ dependencies = [
7374

7475
[tool.pytest.ini_options]
7576
testpaths = ["test"]
76-
addopts = ["--import-mode=importlib", "--cov=sourcefinder", "-q", "-ra"]
77+
addopts = ["--import-mode=importlib", "--cov=sourcefinder", "-q", "-ra", "-n=logical", "--dist=worksteal"]
7778

7879
[tool.black]
7980
include = '\.pyi?$'

0 commit comments

Comments
 (0)