Skip to content

Ml loops

Ml loops #117

Workflow file for this run

name: Linter, formatter, and docs checks
on: [pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'CI Bot')"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "pip"
- name: Install package and dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ruff
python -m pip install .[docs]
- name: Run linter and formatter checks using ruff
run: make checks
- name: Run HTML builder for Sphinx documentation
run: make docs
- name: Clean up
run: |
make clean
find /home/runner/runners/ -type f -name "*.log" -exec sh -c 'echo {}; >"{}"' \; || true