Skip to content

Commit f2ba02d

Browse files
committed
Attempt fix for server conformance tests in CI
1 parent fbbc807 commit f2ba02d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci-build-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ jobs:
6767
- name: 📦 Install dependencies for tests
6868
run: npm install @modelcontextprotocol/server-memory
6969

70+
- name: 📦 Install dependencies for tests
71+
run: npm install @modelcontextprotocol/conformance
72+
7073
- name: 🏗️ Build
7174
run: make build CONFIGURATION=${{ matrix.configuration }}
7275

tests/ModelContextProtocol.ConformanceTests/ConformanceTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private Process StartConformanceServer()
170170
var startInfo = new ProcessStartInfo
171171
{
172172
FileName = "npx",
173-
Arguments = $"@modelcontextprotocol/conformance server --url {_serverUrl}",
173+
Arguments = $"-y @modelcontextprotocol/conformance server --url {_serverUrl}",
174174
RedirectStandardOutput = true,
175175
RedirectStandardError = true,
176176
UseShellExecute = false,

0 commit comments

Comments
 (0)