-
Notifications
You must be signed in to change notification settings - Fork 3.3k
51 lines (46 loc) · 1.65 KB
/
conformance.yml
File metadata and controls
51 lines (46 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Conformance Tests
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
concurrency:
group: conformance-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
server-conformance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0
with:
enable-cache: true
version: 0.9.5
- run: uv sync --frozen --all-extras --package mcp-everything-server
- name: Start everything-server
run: |
uv run --frozen mcp-everything-server --port 3001 &
timeout 15 bash -c 'until curl -s http://localhost:3001/mcp > /dev/null 2>&1; do sleep 0.5; done'
echo "Server ready"
- uses: modelcontextprotocol/conformance@a7a585ff08fe34a922300e659c2c94619b18b9cf
with:
mode: server
url: http://localhost:3001/mcp
expected-failures: ./conformance-baseline.yml
client-conformance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0
with:
enable-cache: true
version: 0.9.5
- run: uv sync --frozen --all-extras --package mcp
- uses: modelcontextprotocol/conformance@a7a585ff08fe34a922300e659c2c94619b18b9cf
with:
mode: client
command: "uv run --frozen python .github/actions/conformance/client.py"
suite: all
expected-failures: ./conformance-baseline.yml