ci(conformance): pin harness to 0.2.0-alpha.3 with expected-failures … #2564
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Conformance Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: conformance-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| env: | |
| # Pinned conformance harness version. Bump deliberately and reconcile | |
| # .github/actions/conformance/expected-failures.yml in the same change. | |
| CONFORMANCE_VERSION: "0.2.0-alpha.3" | |
| jobs: | |
| server-conformance: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| persist-credentials: false | |
| - uses: astral-sh/setup-uv@803947b9bd8e9f986429fa0c5a41c367cd732b41 # v7.2.1 | |
| with: | |
| enable-cache: true | |
| version: 0.9.5 | |
| - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: 24 | |
| - run: uv sync --frozen --all-extras --package mcp-everything-server | |
| - name: Run server conformance (active suite) | |
| run: >- | |
| ./.github/actions/conformance/run-server.sh | |
| --suite active | |
| --expected-failures ./.github/actions/conformance/expected-failures.yml | |
| client-conformance: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| persist-credentials: false | |
| - uses: astral-sh/setup-uv@803947b9bd8e9f986429fa0c5a41c367cd732b41 # v7.2.1 | |
| with: | |
| enable-cache: true | |
| version: 0.9.5 | |
| - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: 24 | |
| - run: uv sync --frozen --all-extras --package mcp | |
| - name: Run client conformance (all suite) | |
| run: >- | |
| npx --yes @modelcontextprotocol/conformance@"$CONFORMANCE_VERSION" client | |
| --command 'uv run --frozen python .github/actions/conformance/client.py' | |
| --suite all | |
| --expected-failures ./.github/actions/conformance/expected-failures.yml |