Skip to content

Fix/v0.2.0 bugs testing and error path detection #18

Fix/v0.2.0 bugs testing and error path detection

Fix/v0.2.0 bugs testing and error path detection #18

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
branches: [main]
jobs:
lint:
name: Lint & Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: |
pip install --upgrade pip
pip install poetry poetry-dynamic-versioning
poetry install --only main,dev,typing
- name: Ruff
run: poetry run ruff check src/
- name: Mypy
run: poetry run mypy src/
build:
name: Build (Python ${{ matrix.python-version }})
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install build tools
run: pip install --upgrade pip build
- name: Build wheel
run: python -m build
- name: Verify install
run: pip install dist/*.whl