Skip to content

LORIS-MRI tooling configuration #3

LORIS-MRI tooling configuration

LORIS-MRI tooling configuration #3

Workflow file for this run

name: Python checks
on:
- push
- pull_request
jobs:
setup:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: pip install -r python/requirements.txt
ruff:
runs-on: ubuntu-latest
needs: setup
steps:
- name: Run Ruff
run: ruff check
pyright-strict:
runs-on: ubuntu-latest
needs: setup
steps:
- name: Run Pyright
run: pyright
pyright-loose:
runs-on: ubuntu-latest
needs: setup
steps:
- name: Run Pyright
run: |
cd test
pyright