60e0ffc959
Upgrade checks / Notify on failure (push) Has been cancelled
Upgrade checks / Close issue on success (push) Has been cancelled
Schema Crash Test / Real-world schema crash test (232K schemas) (push) Has been cancelled
Run static analysis / static_analysis (push) Has been cancelled
Tests / Tests: Python 3.10 on ubuntu-latest (push) Has been cancelled
Tests / Tests: Python 3.13 on ubuntu-latest (push) Has been cancelled
Tests / Tests: Python 3.10 on windows-latest (push) Has been cancelled
Tests / Tests with lowest-direct dependencies (push) Has been cancelled
Tests / MCP conformance tests (push) Has been cancelled
Tests / Integration tests (push) Has been cancelled
Tests / Package install smoke (push) Has been cancelled
Upgrade checks / Static analysis (push) Has been cancelled
Upgrade checks / Tests: Python 3.10 on ubuntu-latest (push) Has been cancelled
Upgrade checks / Tests: Python 3.13 on ubuntu-latest (push) Has been cancelled
Upgrade checks / Tests: Python 3.10 on windows-latest (push) Has been cancelled
Upgrade checks / Integration tests (push) Has been cancelled
Update MCPServerConfig Schema / update-config-schema (push) Has been cancelled
Update SDK Documentation / update-sdk-docs (push) Has been cancelled
56 lines
1.7 KiB
YAML
56 lines
1.7 KiB
YAML
name: Schema Crash Test
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
paths:
|
|
- "fastmcp_slim/fastmcp/utilities/json_schema_type.py"
|
|
- "fastmcp_slim/fastmcp/utilities/json_schema.py"
|
|
- "fastmcp_slim/fastmcp/utilities/openapi/**"
|
|
- "fastmcp_slim/fastmcp/server/providers/openapi/**"
|
|
- "fastmcp_slim/fastmcp/client/mixins/tools.py"
|
|
- "tests/utilities/json_schema_type/test_real_world_schemas.py"
|
|
- ".github/workflows/run-schema-crash-test.yml"
|
|
|
|
pull_request:
|
|
paths:
|
|
- "fastmcp_slim/fastmcp/utilities/json_schema_type.py"
|
|
- "fastmcp_slim/fastmcp/utilities/json_schema.py"
|
|
- "fastmcp_slim/fastmcp/utilities/openapi/**"
|
|
- "fastmcp_slim/fastmcp/server/providers/openapi/**"
|
|
- "fastmcp_slim/fastmcp/client/mixins/tools.py"
|
|
- "tests/utilities/json_schema_type/test_real_world_schemas.py"
|
|
- ".github/workflows/run-schema-crash-test.yml"
|
|
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
schema_crash_test:
|
|
name: "Real-world schema crash test (232K schemas)"
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 45
|
|
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v7
|
|
|
|
- name: Set up Python
|
|
run: uv python install 3.12
|
|
|
|
- name: Install dependencies
|
|
run: uv sync
|
|
|
|
- name: Clone openapi-directory
|
|
run: git clone --depth 1 https://github.com/APIs-guru/openapi-directory.git /tmp/openapi-directory
|
|
|
|
- name: Run schema crash test
|
|
env:
|
|
RUN_REAL_WORLD_SCHEMA_TEST: "1"
|
|
OPENAPI_DIRECTORY_PATH: /tmp/openapi-directory
|
|
run: uv run pytest tests/utilities/json_schema_type/test_real_world_schemas.py -m integration -v -n auto --timeout-method=thread
|