Skip to content

chore: ci.

chore: ci. #7

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
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- 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