Skip to content

feat: ci.

feat: ci. #6

Workflow file for this run

name: CI Python
on:
push:
branches:
- main
paths:
- python/**
- .github/workflows/ci_python.yml
pull_request:
branches:
- main
paths:
- python/**
- .github/workflows/ci_python.yml
workflow_dispatch:
jobs:
python-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- run: uv sync --all-extras --dev
- run: uv run ruff format --check
- run: uv run ruff check --no-fix
- run: uv run pytest