Skip to content

Commit 2fe9825

Browse files
authored
Switch pipeline to conformance baseline (#230)
1 parent c081b90 commit 2fe9825

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.github/workflows/pipeline.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,7 @@ jobs:
9292
9393
- name: Run conformance tests
9494
working-directory: ./tests/Conformance
95-
run: |
96-
exit_code=0
97-
OUTPUT=$(npx @modelcontextprotocol/conformance server --url http://localhost:8000/) || exit_code=1
98-
echo "$OUTPUT"
99-
100-
passedTests=$(echo "$OUTPUT" | sed -nE 's/.*Total: ([0-9]+) passed.*/\1/p')
101-
passedTests=${passedTests:-0}
102-
103-
REQUIRED_TESTS_TO_PASS=22
104-
echo "Required tests to pass: $REQUIRED_TESTS_TO_PASS"
105-
[ "$passedTests" -ge "$REQUIRED_TESTS_TO_PASS" ] || exit $exit_code
95+
run: npx @modelcontextprotocol/conformance server --url http://localhost:8000/ --expected-failures conformance-baseline.yml
10696

10797
- name: Show logs on failure
10898
if: failure()
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
server:
2+
- tools-call-elicitation
3+
- elicitation-sep1034-defaults
4+
- elicitation-sep1330-enums
5+
- resources-subscribe
6+
- resources-unsubscribe
7+
- dns-rebinding-protection

0 commit comments

Comments
 (0)