Skip to content

Commit aa27817

Browse files
authored
Merge pull request #164 from Praveenk8051/feat/parallel-tests-execution-pydist
chore: update pytest configuration to enable parallel test execution
2 parents 896ca95 + 8bd76b9 commit aa27817

File tree

2 files changed

+38
-3
lines changed

2 files changed

+38
-3
lines changed

poetry.lock

Lines changed: 36 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ pyfiglet = "^1.0.2"
5454
termcolor = "^2.4.0"
5555

5656
# garak = { version = "*", optional = true }
57+
pytest-xdist = "3.6.1"
5758

5859

5960
[tool.poetry.group.dev.dependencies]
@@ -86,7 +87,7 @@ build-backend = "poetry.core.masonry.api"
8687

8788

8889
[tool.pytest.ini_options]
89-
addopts = "--durations=5 -m 'not slow'"
90+
addopts = "--durations=5 -m 'not slow' -n auto"
9091
asyncio_mode = "auto"
9192
asyncio_default_fixture_loop_scope = "function"
9293
markers = "slow: marks tests as slow"

0 commit comments

Comments
 (0)