Skip to content

api docs updated with correct url #13

api docs updated with correct url

api docs updated with correct url #13

Workflow file for this run

name: CI
on:
push:
branches: ["main", "dev"]
pull_request:
branches: ["main"]
jobs:
test:
name: Tests (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.13"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: latest
virtualenvs-create: true
virtualenvs-in-project: true
- name: Cache dependencies
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
restore-keys: |
venv-${{ matrix.python-version }}-
- name: Install dependencies
run: poetry install --with dev
- name: Lint (ruff)
run: poetry run ruff check kitefishai/
- name: Type check (mypy)
run: poetry run mypy kitefishai/
- name: Run tests
run: poetry run pytest tests/ -v --tb=short
- name: Upload coverage (optional)
if: matrix.python-version == '3.12'
uses: actions/upload-artifact@v4
with:
name: test-results
path: .pytest_cache/