Skip to content

Commit 6ff82fc

Browse files
speedstorm1copybara-github
authored andcommitted
feat: Use pytest-xdist for test parallelization
PiperOrigin-RevId: 829926138
1 parent e77e394 commit 6ff82fc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,7 @@ plugins = ["pydantic.mypy"]
5555
# 'import-not-found' and 'import-untyped' are environment specific
5656
disable_error_code = ["import-not-found", "import-untyped", "unused-ignore"]
5757
strict = true
58+
59+
[tool.pytest.ini_options]
60+
asyncio_mode = "auto"
61+
asyncio_default_fixture_loop_scope = "function"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pydantic_core==2.41.1
2121
pytest==8.3.4
2222
pytest-asyncio==0.25.0
2323
pytest-cov==6.0.0
24-
pytest-parallel==0.1.1
24+
pytest-xdist==3.8.0
2525
requests==2.32.4
2626
rsa==4.9
2727
tenacity==8.2.3

0 commit comments

Comments
 (0)