Regenerate SDK client core from Otari OpenAPI spec #43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: uv sync --extra dev | |
| - name: Lint | |
| run: uv run ruff check . | |
| - name: Type check | |
| run: uv run mypy src/ | |
| - name: Test | |
| # Integration tests skip automatically when no gateway is on PATH. | |
| run: uv run pytest | |
| - name: Endpoint-coverage drift gate | |
| # Fetches the canonical gateway OpenAPI spec and fails if it exposes an | |
| # endpoint absent from sdk-endpoints.txt ([covered] or [excluded]). | |
| # Network is available in CI, so this must not skip here. | |
| run: uv run pytest tests/unit/test_endpoint_coverage.py -v |