mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-21 13:04:18 +02:00
Skip flaky windows test (#1596)
This commit is contained in:
parent
c7984e2cf2
commit
6c51dad870
2 changed files with 7 additions and 3 deletions
6
.github/workflows/run-tests.yml
vendored
6
.github/workflows/run-tests.yml
vendored
|
|
@ -48,10 +48,10 @@ jobs:
|
|||
run: uv sync --frozen
|
||||
|
||||
- name: Run tests (excluding integration and client_process)
|
||||
run: uv run pytest tests -m "not integration and not client_process"
|
||||
run: uv run pytest -v tests -m "not integration and not client_process"
|
||||
|
||||
- name: Run client process tests separately
|
||||
run: uv run pytest tests -m "client_process" -x
|
||||
run: uv run pytest -v tests -m "client_process" -x
|
||||
|
||||
run_integration_tests:
|
||||
name: "Run integration tests"
|
||||
|
|
@ -73,7 +73,7 @@ jobs:
|
|||
run: uv sync --frozen
|
||||
|
||||
- name: Run integration tests
|
||||
run: uv run pytest tests -m "integration"
|
||||
run: uv run pytest -v tests -m "integration"
|
||||
env:
|
||||
FASTMCP_GITHUB_TOKEN: ${{ secrets.FASTMCP_GITHUB_TOKEN }}
|
||||
FASTMCP_TEST_AUTH_GITHUB_CLIENT_ID: ${{ secrets.FASTMCP_TEST_AUTH_GITHUB_CLIENT_ID }}
|
||||
|
|
|
|||
|
|
@ -309,6 +309,10 @@ async def test_multi_client_lifespan(tmp_path: Path):
|
|||
await asyncio.sleep(0.1)
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
sys.platform.startswith("win32"),
|
||||
reason="Windows has process lifecycle issues",
|
||||
)
|
||||
async def test_multi_client_force_close(tmp_path: Path):
|
||||
server_script = inspect.cleandoc("""
|
||||
from fastmcp import FastMCP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue