This commit is contained in:
2025-09-27 03:33:29 +00:00
parent cda334a45d
commit 78a7acbe3e
6 changed files with 188 additions and 0 deletions

31
.github/workflows/ci.yaml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: CI
on:
push:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v6.5.0
with:
enable-cache: true
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Run formatter
run: uv run ruff format --check
- name: Run linter
run: uv run ruff check
- name: Run tests with coverage
run: uv run pytest