Skip to content

Commit 6e0ed60

Browse files
chore(tests): run tests in parallel
1 parent ebceec8 commit 6e0ed60

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ dev-dependencies = [
5454
"importlib-metadata>=6.7.0",
5555
"rich>=13.7.1",
5656
"nest_asyncio==1.6.0",
57+
"pytest-xdist>=3.6.1",
5758
"paramiko>=3.5.1",
5859
"anthropic>=0.45.2",
5960
"types-paramiko>=3.5.0.20240928",
@@ -128,7 +129,7 @@ replacement = '[\1](https://github.com/gitpod-io/gitpod-sdk-python/tree/main/\g<
128129

129130
[tool.pytest.ini_options]
130131
testpaths = ["tests"]
131-
addopts = "--tb=short"
132+
addopts = "--tb=short -n auto"
132133
xfail_strict = true
133134
asyncio_mode = "auto"
134135
asyncio_default_fixture_loop_scope = "session"

requirements-dev.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ distro==1.8.0
4141
exceptiongroup==1.2.2
4242
# via anyio
4343
# via pytest
44+
execnet==2.1.1
45+
# via pytest-xdist
4446
filelock==3.12.4
4547
# via virtualenv
4648
h11==0.14.0
@@ -92,7 +94,9 @@ pynacl==1.5.0
9294
pyright==1.1.399
9395
pytest==8.3.3
9496
# via pytest-asyncio
97+
# via pytest-xdist
9598
pytest-asyncio==0.24.0
99+
pytest-xdist==3.7.0
96100
python-dateutil==2.8.2
97101
# via time-machine
98102
pytz==2023.3.post1

0 commit comments

Comments
 (0)