Skip to content

fix: sync README and installer with actual codebase (v1.4.2) #35

fix: sync README and installer with actual codebase (v1.4.2)

fix: sync README and installer with actual codebase (v1.4.2) #35

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
# Only maintainers can trigger CI (via PR approval or manual re-run).
# Fork PRs require maintainer approval before workflows run.
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install ruff
run: pip install ruff
- name: Ruff check
run: ruff check .
- name: Ruff format check
run: ruff format --check .
test:
name: Test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install pytest
- name: Run tests
run: python -m pytest tests/ -v