Skip to content

[models] support claude 5.5 and gpt-6, send temperature only when nee… #26

[models] support claude 5.5 and gpt-6, send temperature only when nee…

[models] support claude 5.5 and gpt-6, send temperature only when nee… #26

Workflow file for this run

name: Python checks
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
static-checks:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
with:
python-version: "3.12"
- run: uv sync --locked
- name: Lint Python
run: uv run --no-sync ruff check .
- name: Check host package types
run: uv run --no-sync pyright
installed-wheel:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
with:
python-version: ${{ matrix.python-version }}
- name: Build wheel
run: uv build --wheel
- name: Install wheel with runtime dependencies only
run: |
uv venv --python "${{ matrix.python-version }}" "$RUNNER_TEMP/wheel-venv"
uv pip install --python "$RUNNER_TEMP/wheel-venv/bin/python" dist/*.whl
uv pip check --python "$RUNNER_TEMP/wheel-venv/bin/python"
- name: Exercise imports and document converters outside the checkout
working-directory: ${{ runner.temp }}
run: env -u LAB_ROOT -u PYTHONPATH "$RUNNER_TEMP/wheel-venv/bin/python" -I "$GITHUB_WORKSPACE/tests/test_package_smoke.py"