Skip to content

Commit 68199e6

Browse files
Use pytest-xdist for public tests
1 parent 1b879dd commit 68199e6

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/_test_futures_public.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
uv pip install $wheel -r requirements-dev.txt
8080
8181
- name: Testing Futures REST endpoints
82-
run: pytest -vv -x -m "futures and not futures_auth and not futures_websocket" tests
82+
run: pytest -vv -x -n auto -m "futures and not futures_auth and not futures_websocket" tests
8383

8484
- name: Testing Futures websocket endpoints
85-
run: pytest -vv -x -m "futures and not futures_auth and futures_websocket" tests
85+
run: pytest -vv -x -n auto -m "futures and not futures_auth and futures_websocket" tests

.github/workflows/_test_spot_public.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
uv pip install $wheel -r requirements-dev.txt
8181
8282
- name: Testing Spot REST endpoints
83-
run: pytest -vv -x -m "spot and not spot_auth and not spot_websocket" tests
83+
run: pytest -vv -x -n auto -m "spot and not spot_auth and not spot_websocket" tests
8484

8585
- name: Testing Spot websocket endpoints
86-
run: pytest -vv -x -m "spot and not spot_auth and spot_websocket" tests
86+
run: pytest -vv -x -n auto -m "spot and not spot_auth and spot_websocket" tests

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ pytest-cov
55
pytest-mock
66
pytest-retry
77
pytest-timeout
8+
pytest-xdist

0 commit comments

Comments
 (0)