Skip to content

Commit 3822696

Browse files
authored
Merge pull request #90 from pelican-plugins/parallel-tests
Configure Pytest to run tests in parallel
2 parents ac1666f + 5042e68 commit 3822696

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ test = [
5353
"pytest-cov>=4.0",
5454
"pytest-mock>=3.3.1",
5555
"pytest-sugar>=1.0",
56+
"pytest-xdist>=3.4.0",
5657
]
5758

5859
[tool.pdm.build]
@@ -69,6 +70,9 @@ git-username = "botpub"
6970
git-email = "52496925+botpub@users.noreply.github.com"
7071
append-github-contributor = true
7172

73+
[tool.pytest.ini_options]
74+
addopts = "-n auto -ra"
75+
7276
[tool.ruff.lint]
7377
select = [
7478
"B", # flake8-bugbear

0 commit comments

Comments
 (0)