Skip to content

Regenerate SDK client core from Otari OpenAPI spec #52

Regenerate SDK client core from Otari OpenAPI spec

Regenerate SDK client core from Otari OpenAPI spec #52

Workflow file for this run

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