Skip to content

ci: add python publish workflow #2

ci: add python publish workflow

ci: add python publish workflow #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Setup uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Install dependencies
run: uv sync --all-groups
- name: Run tests
run: uv run pytest -q
- name: Ruff
run: uv run ruff check .
- name: mypy
run: uv run mypy src/calle
- name: Build package
run: uv build