Repository navigation
chore(api): sync OpenAPI contract #44
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: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.14"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - uses: astral-sh/setup-uv@v6 | |
| - run: uv sync --frozen | |
| - run: uv run python scripts/check_openapi.py | |
| - run: uv run ruff check . | |
| - run: uv run ruff format --check . | |
| - run: uv run mypy | |
| - run: uv run pyright | |
| - run: uv run pytest tests/unit -q | |
| - name: Check contract feature bindings | |
| run: | | |
| chmod 600 tests/fixtures/sdk-contract-dry-run.json | |
| VOLCANO_SDK_CONTRACT_FIXTURE="$PWD/tests/fixtures/sdk-contract-dry-run.json" \ | |
| uv run behave features/contract --dry-run --no-snippets | |
| - run: uv run python -m build |