Skip to content

Refactor python code, add publish workflows, add docs website #30

Refactor python code, add publish workflows, add docs website

Refactor python code, add publish workflows, add docs website #30

Workflow file for this run

name: Python CI
on:
workflow_call:
push:
branches: ["**"]
paths:
- '**/*.py'
- 'pyproject.toml'
pull_request:
branches: ["**"]
paths:
- '**/*.py'
- 'pyproject.toml'
jobs:
test-lint-typecheck:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Setup uv
uses: astral-sh/setup-uv@v3
- name: Sync dependencies (including dev)
run: uv sync --all-extras --dev
- name: Run tests (pytest)
run: uv run pytest
- name: Lint (ruff)
run: uvx ruff check
- name: Type check (mypy)
run: uv run mypy