Skip to content

add academy example (#128) #145

add academy example (#128)

add academy example (#128) #145

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
version: "latest"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: uv sync --all-groups --locked
- name: Lint
run: uv run ruff check
- name: Check formatting
run: uv run ruff format --check
- name: Type check
run: uv run ty check
- name: Run tests with pytest
run: uv run pytest --cov