Skip to content

Add agentic workflow for py-cppmodel #68

Add agentic workflow for py-cppmodel

Add agentic workflow for py-cppmodel #68

Workflow file for this run

name: Python checks
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: ${{ matrix.python }}
- name: Install the project
run: uv sync
- name: Linting checks
run: uv run ruff check .
- name: Type checks
run: uv run ty check .
- name: Tests
run: uv run pytest