Skip to content

feat: github actions #15

feat: github actions

feat: github actions #15

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: "Set up Python"
uses: actions/setup-python@v6
with:
python-version-file: "pyproject.toml"
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Sync dependencies
run: uv sync --all-packages --all-groups
- name: Run tests
run: uv run pytest
- name: Run linter
run: uv run ruff check .
- name: Run mypy
run: uv run mypy .
- name: Run basedpyright
run: uv run basedpyright .