Skip to content

chore(api): sync OpenAPI contract #44

chore(api): sync OpenAPI contract

chore(api): sync OpenAPI contract #44

Workflow file for this run

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