chore: regenerate SDK client core from Otari OpenAPI spec (#29) #122
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 manifest checks | |
| # sdk-endpoints.txt is pushed here by the gateway's codegen workflow. The | |
| # drift gate that compares it against the OpenAPI spec now runs in the | |
| # gateway, against the spec from the same commit; these checks are the | |
| # offline structural ones. See the docstring of the test module. | |
| run: uv run pytest tests/unit/test_endpoint_coverage.py -v |