Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Disable parallel test execution on Windows (#2128)

Jeremiah Lowind4837b41c513
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index 034394573..2edb6ef60 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -48,7 +48,7 @@ jobs:
run: uv sync --upgrade
- name: Run tests (excluding integration and client_process)
- run: uv run pytest --inline-snapshot=disable tests -m "not integration and not client_process" --numprocesses auto --maxprocesses 4 --dist worksteal
+ run: uv run pytest --inline-snapshot=disable tests -m "not integration and not client_process" ${{ matrix.os == 'windows-latest' && '' || '--numprocesses auto --maxprocesses 4 --dist worksteal' }}
- name: Run client process tests separately
run: uv run pytest --inline-snapshot=disable tests -m "client_process" -x