Switch pipeline to conformance baseline (#230)

This commit is contained in:
Christopher Hertel 2026-02-01 11:59:44 +01:00 • committed by GitHub
commit 2fe982505f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 11 deletions

View file

@ -92,17 +92,7 @@ jobs:
- name: Run conformance tests
working-directory: ./tests/Conformance
run: |
exit_code=0
OUTPUT=$(npx @modelcontextprotocol/conformance server --url http://localhost:8000/) || exit_code=1
echo "$OUTPUT"
passedTests=$(echo "$OUTPUT" | sed -nE 's/.*Total: ([0-9]+) passed.*/\1/p')
passedTests=${passedTests:-0}
REQUIRED_TESTS_TO_PASS=22
echo "Required tests to pass: $REQUIRED_TESTS_TO_PASS"
[ "$passedTests" -ge "$REQUIRED_TESTS_TO_PASS" ] || exit $exit_code
run: npx @modelcontextprotocol/conformance server --url http://localhost:8000/ --expected-failures conformance-baseline.yml
- name: Show logs on failure
if: failure()

View file

@ -0,0 +1,7 @@
server:
- tools-call-elicitation
- elicitation-sep1034-defaults
- elicitation-sep1330-enums
- resources-subscribe
- resources-unsubscribe
- dns-rebinding-protection