Skip to content

perf: shared HTTP client and latency optimizations #68

perf: shared HTTP client and latency optimizations

perf: shared HTTP client and latency optimizations #68

Workflow file for this run

name: "CI: Python SDK"
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
env:
UV_PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v8.0.0
- run: uv python install ${{ matrix.python-version }}
- run: uv sync --frozen
- run: uv run ruff check .
- run: uv run ruff format --check .
- run: uv run pyright
- run: uv run pytest --cov=decibel --cov-report=xml --cov-report=term
- name: Coverage report on PR
if: matrix.python-version == '3.11' && github.event_name == 'pull_request'
uses: orgoro/coverage@v3.2
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
- run: uv build