diff --git a/.github/workflows/run-static.yml b/.github/workflows/run-static.yml index 9cf63f63d..526844f6c 100644 --- a/.github/workflows/run-static.yml +++ b/.github/workflows/run-static.yml @@ -14,13 +14,10 @@ on: - "uv.lock" - "pyproject.toml" - ".github/workflows/**" + + # run on all pull requests because these checks are required and will block merges otherwise pull_request: - paths: - - "src/**" - - "tests/**" - - "uv.lock" - - "pyproject.toml" - - ".github/workflows/**" + workflow_dispatch: permissions: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ec4457e24..c201aca74 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,13 +13,9 @@ on: - "uv.lock" - "pyproject.toml" - ".github/workflows/**" + + # run on all pull requests because these checks are required and will block merges otherwise pull_request: - paths: - - "src/**" - - "tests/**" - - "uv.lock" - - "pyproject.toml" - - ".github/workflows/**" workflow_dispatch: diff --git a/tests/client/test_sse.py b/tests/client/test_sse.py index f70395550..7ecfc7ee6 100644 --- a/tests/client/test_sse.py +++ b/tests/client/test_sse.py @@ -137,6 +137,10 @@ async def test_nested_sse_server_resolves_correctly(): class TestTimeout: + @pytest.mark.skipif( + sys.platform == "win32", + reason="This test is flaky on Windows. Sometimes the client timeout is respected and sometimes it is not.", + ) async def test_timeout(self, sse_server: str): with pytest.raises( McpError,