Repository navigation
Initial release: NeuroAPI Cookbook v0.1.0 #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: "3.9" | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Ruff lint | |
| run: uv run ruff check examples/ | |
| - name: Ruff format check | |
| run: uv run ruff format --check examples/ | |
| - name: Byte-compile examples | |
| run: uv run python -m compileall -q examples/ |