Skip to content

docs: add MIT license #2

docs: add MIT license

docs: add MIT license #2

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
checks:
name: Python checks
runs-on: ubuntu-latest
timeout-minutes: 10
env:
ANTHROPIC_API_KEY: test-api-key
MODEL_ID: test-model
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Install uv and Python
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
version: "0.12.0"
python-version: "3.13"
enable-cache: true
- name: Install locked dependencies
run: uv sync --locked --dev
- name: Check formatting
run: uv run --locked ruff format --check .
- name: Lint
run: uv run --locked ruff check .
- name: Type check
run: uv run --locked mypy
- name: Run tests with coverage
run: uv run --locked coverage run config/manage.py test chat
- name: Report coverage
run: uv run --locked coverage report -m