Skip to content

Bump actions/checkout from 4 to 5 #45

Bump actions/checkout from 4 to 5

Bump actions/checkout from 4 to 5 #45

Workflow file for this run

name: Tutorials
on:
push:
branches:
- main
pull_request:
jobs:
run-tutorials:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
max-parallel: 5
fail-fast: true
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- uses: actions/cache@v4
with:
path: ~/voxelwise_tutorials_data/shortclips
key: shortclips-dataset
- name: Install dependencies
run: |
pip install -U setuptools
pip install -U wheel
# install himalaya from source to get early testing
pip install git+https://github.com/gallantlab/himalaya.git
pip install -e ."[docs,github]"
sudo apt-get update -qq
sudo apt-get install git-annex
- name: Config git-annex
run: |
# add some git config for git-annex
git config --global user.email "[email protected]"
git config --global user.name "Github Actions"
- name: Run some tutorials
run: |
# run tutorials with a shortcut option to skip model fitting
HIMALAYA_SKIP_FIT=True jupyter-book build tutorials