Skip to content

feat: update server #142

feat: update server

feat: update server #142

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
paths:
- "src/**"
- "tests/**"
- "examples/**"
- "pyproject.toml"
- "justfile"
- ".pre-commit-config.yaml"
- ".github/workflows/ci.yml"
pull_request:
branches: ["main"]
paths:
- "src/**"
- "tests/**"
- "examples/**"
- "pyproject.toml"
- "justfile"
- ".pre-commit-config.yaml"
- ".github/workflows/ci.yml"
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.13"]
os: [ubuntu-latest]
include:
- python-version: "3.12"
os: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install uv and set Python version
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install dependencies
run: uv sync --all-extras --dev
- name: Run linter and static analysis
run: |
uv run ruff check
uv run ruff format --check
- name: Run tests
run: uv run pytest