Skip to content

Project setup

Project setup #1

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-groups
- name: Lint
run: uv run ruff check src/ tests/
- name: Format check
run: uv run ruff format --check src/ tests/
- name: Type check
run: uv run ty check src/
- name: Test
run: uv run pytest