Skip to content

chore(deps-dev): update uv-build requirement from <0.12,>=0.11.6 to >=0.11.6,<0.13 in the dev-dependencies group across 1 directory #31

chore(deps-dev): update uv-build requirement from <0.12,>=0.11.6 to >=0.11.6,<0.13 in the dev-dependencies group across 1 directory

chore(deps-dev): update uv-build requirement from <0.12,>=0.11.6 to >=0.11.6,<0.13 in the dev-dependencies group across 1 directory #31

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: ['3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python }}
enable-cache: true
- run: uv sync --locked --all-extras --dev
# Hermetic: regenerates from the committed spec, so this verifies that the committed
# generated code still reproduces from it, with no network dependency. Refreshing the
# spec itself is the release workflow's job.
- name: Codegen drift check
if: matrix.python == '3.12'
env:
ROXYAPI_SPEC_FILE: specs/openapi.json
run: |
uv run python generate.py
git diff --exit-code -- specs/openapi.json src/roxy_sdk/factory.py \
|| { echo 'codegen drift: commit the regenerated files'; exit 1; }
- name: Lint
if: matrix.python == '3.12'
run: uv run ruff check .
- name: Typecheck
if: matrix.python == '3.12'
run: uv run mypy src/roxy_sdk/__init__.py
- name: Test
run: uv run pytest tests/test_factory.py -v