Port the end-to-end test suite to v2 (#2179)

This commit is contained in:
Felix Weinberger 2026-05-29 12:04:45 +01:00 • committed by GitHub
commit 1998a186ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,7 +54,33 @@ jobs:
- run: pnpm install
- run: pnpm test:all
# The e2e suite has its own job below; everything else runs here.
- run: pnpm -r --filter '!@modelcontextprotocol/test-e2e' test
test-e2e:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
id: pnpm-install
with:
run_install: false
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- run: pnpm install
- run: pnpm --filter @modelcontextprotocol/test-e2e test
test-runtimes:
runs-on: ubuntu-latest