Skip to content

Commit 411efb5

Browse files
committed
ci: use conformance repo's composite GitHub Action
Replace custom npx scripts with the composite action from modelcontextprotocol/conformance. This simplifies the workflow by: - Removing the manual actions/setup-node step (handled by the action) - Replacing run-server.sh's npx call with the action - Replacing the inline npx call for client tests with the action - Removing continue-on-error (Python SDK passes all tests) References conformance repo at commit ab789d6 (expected-failures branch) until a tagged release is available.
1 parent 213cf99 commit 411efb5

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/conformance.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,34 @@ permissions:
1616
jobs:
1717
server-conformance:
1818
runs-on: ubuntu-latest
19-
continue-on-error: true
2019
steps:
2120
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2221
- uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0
2322
with:
2423
enable-cache: true
2524
version: 0.9.5
26-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
27-
with:
28-
node-version: 24
2925
- run: uv sync --frozen --all-extras --package mcp-everything-server
30-
- run: ./.github/actions/conformance/run-server.sh
26+
- name: Start everything-server
27+
run: |
28+
uv run --frozen mcp-everything-server --port 3001 &
29+
timeout 15 bash -c 'until curl -s http://localhost:3001/mcp > /dev/null 2>&1; do sleep 0.5; done'
30+
echo "Server ready"
31+
- uses: modelcontextprotocol/conformance@ab789d6f03b7b3561b80a6e835bd07aa8d87c10a
32+
with:
33+
mode: server
34+
url: http://localhost:3001/mcp
3135

3236
client-conformance:
3337
runs-on: ubuntu-latest
34-
continue-on-error: true
3538
steps:
3639
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3740
- uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0
3841
with:
3942
enable-cache: true
4043
version: 0.9.5
41-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
42-
with:
43-
node-version: 24
4444
- run: uv sync --frozen --all-extras --package mcp
45-
- run: npx @modelcontextprotocol/conformance@0.1.10 client --command 'uv run --frozen python .github/actions/conformance/client.py' --suite all
45+
- uses: modelcontextprotocol/conformance@ab789d6f03b7b3561b80a6e835bd07aa8d87c10a
46+
with:
47+
mode: client
48+
command: "uv run --frozen python .github/actions/conformance/client.py"
49+
suite: all

0 commit comments

Comments
 (0)