ci(conformance): bump harness to 0.2.0-alpha.5 preview #2703
Workflow file for this run
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 package spec (passed verbatim to `npx --yes`). | |
| # Use a published version, e.g. @modelcontextprotocol/conformance@0.2.0-alpha.5. | |
| # Bump deliberately and reconcile both | |
| # .github/actions/conformance/expected-failures*.yml files in the same change. | |
| # | |
| # TODO: replace with @modelcontextprotocol/conformance@0.2.0-alpha.5 once | |
| # https://github.com/modelcontextprotocol/conformance/pull/357 publishes. | |
| # The pkg.pr.new URL below is the preview build of that PR pinned at commit | |
| # 65fcd39 (immutable). Do not merge this branch to main with a pkg.pr.new pin. | |
| CONFORMANCE_PKG: "https://pkg.pr.new/@modelcontextprotocol/conformance@65fcd39" | |
| jobs: | |
| server-conformance: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 | |
| with: | |
| enable-cache: true | |
| version: 0.9.5 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.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 | |
| - name: Run server conformance (draft suite) | |
| run: >- | |
| ./.github/actions/conformance/run-server.sh | |
| --suite draft | |
| --expected-failures ./.github/actions/conformance/expected-failures.yml | |
| - name: Run server conformance (2026-07-28 wire, all suite) | |
| run: >- | |
| ./.github/actions/conformance/run-server.sh | |
| --suite all | |
| --spec-version 2026-07-28 | |
| --expected-failures ./.github/actions/conformance/expected-failures.2026-07-28.yml | |
| client-conformance: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 | |
| with: | |
| enable-cache: true | |
| version: 0.9.5 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 24 | |
| - run: uv sync --frozen --all-extras --package mcp | |
| - name: Run client conformance (all suite) | |
| run: >- | |
| npx --yes "$CONFORMANCE_PKG" client | |
| --command 'uv run --frozen python .github/actions/conformance/client.py' | |
| --suite all | |
| --expected-failures ./.github/actions/conformance/expected-failures.yml | |
| - name: Run client conformance (2026-07-28 wire, all suite) | |
| run: >- | |
| npx --yes "$CONFORMANCE_PKG" client | |
| --command 'uv run --frozen python .github/actions/conformance/client.py' | |
| --suite all | |
| --spec-version 2026-07-28 | |
| --expected-failures ./.github/actions/conformance/expected-failures.2026-07-28.yml |