Skip to content

CI

CI #669

Workflow file for this run

# This file is autogenerated by maturin v1.8.1
# To update, run
#
# maturin generate-ci github
#
name: CI
on:
pull_request:
branches: [main]
paths:
- src/**
- python/**
- "*.toml"
- ".github/workflows/*.yml"
push:
branches: [main]
paths:
- src/**
- python/**
- "*.toml"
- ".github/workflows/*.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
format-check:
name: Check Python formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install Ruff
run: |
pip install ruff
- name: Check Python formatting
run: |
ruff format --check .
test:
name: Run test
uses: ./.github/workflows/_test.yml