Skip to content

feat: kreuzberg-cloud-sdk v0.0.1 — clients, ergonomics, release pipeline #4

feat: kreuzberg-cloud-sdk v0.0.1 — clients, ergonomics, release pipeline

feat: kreuzberg-cloud-sdk v0.0.1 — clients, ergonomics, release pipeline #4

Workflow file for this run

name: ci-python
on:
pull_request:
branches: [main]
paths:
- "packages/python/**"
- "spec/openapi.yaml"
- "tasks/python.yml"
- "pyproject.toml"
- ".github/workflows/ci-python.yml"
push:
branches: [main]
paths:
- "packages/python/**"
- "spec/openapi.yaml"
- "tasks/python.yml"
- "pyproject.toml"
concurrency:
group: ci-python-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
name: test (py${{ matrix.python }} on ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Pin Python
run: uv python install ${{ matrix.python }}
- name: Install task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install deps
run: uv sync
- name: Generate client
run: task python:generate
- name: Lint
run: task python:lint
- name: Test (with coverage)
run: task python:test:cov
- name: Build wheel + sdist
run: task python:build