Skip to content

fix: use per-thread persistent event loop to prevent 'Event loop is c… #24

fix: use per-thread persistent event loop to prevent 'Event loop is c…

fix: use per-thread persistent event loop to prevent 'Event loop is c… #24

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ci:
name: Lint, typecheck & test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version-file: .python-version
- name: Install dependencies
run: uv sync --group dev
- name: Lint (ruff check)
run: uv run ruff check src tests demo
- name: Format (ruff format)
run: uv run ruff format --check src tests demo
- name: Typecheck (ty)
run: uv run ty check
- name: Test (pytest)
run: uv run pytest tests/ -q