Skip to content

Commit acb534a

Browse files
committed
chore: Add pytest parallel to speed up pytest
1 parent 02f40af commit acb534a

File tree

2 files changed

+37
-72
lines changed

2 files changed

+37
-72
lines changed

poetry.lock

Lines changed: 35 additions & 71 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
@@ -21,9 +21,10 @@ importlib-metadata = ">=6.6.0"
2121
virtualenv = { version = ">=20.23.0", python = ">=3.6, <4.0" }
2222
pre-commit = { version = ">=2.21.0", python = ">=3.6, <4.0" }
2323
coverage = "^7.2.7"
24+
pytest-xdist = "^3.3.1"
2425

2526
[tool.pytest.ini_options]
26-
addopts = "--cov=openrouteservice --cov-report xml --cov-report term-missing --cov-fail-under 96"
27+
addopts = "--cov=openrouteservice --cov-report xml --cov-report term-missing --cov-fail-under 96 -n auto"
2728

2829
[build-system]
2930
requires = ["poetry-core>=1.0.0"]

0 commit comments

Comments
 (0)