Skip to content

Merge pull request #3 from MREYE-LUMC/crnh_update_voici #42

Merge pull request #3 from MREYE-LUMC/crnh_update_voici

Merge pull request #3 from MREYE-LUMC/crnh_update_voici #42

Workflow file for this run

name: Continuous Integration
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Build PAROS
run: hatch build
format:
name: Format and lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Format and lint
run: hatch fmt --check
jupyter:
name: Test Jupyter notebooks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Format and lint
run: hatch run jupyter:run-all