Skip to content

Commit 2541cc8

Browse files
authored
TST run more tutorials on github actions (#12)
* MNT pycortex wheels now contain the filestore * MNT run all tutorials with a shortcut option to skip model fitting
1 parent 2d677ae commit 2541cc8

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/run_tests.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
run: |
3838
pip install -U setuptools
3939
pip install -U wheel
40-
# install pycortex from source to avoid using the cached wheel
41-
pip install git+https://github.com/gallantlab/pycortex.git
40+
# install himalaya from source to get early testing
41+
pip install git+https://github.com/gallantlab/himalaya.git
4242
pip install -e ."[github]"
4343
$CONDA/bin/conda install -c conda-forge git-annex=*=alldep*
4444
@@ -72,8 +72,11 @@ jobs:
7272
7373
- name: Run some tutorials
7474
run: |
75-
# do not run all tutorials because it is slow on CPU
76-
python tutorials/shortclips/00_download_shortclips.py
77-
python tutorials/shortclips/01_plot_explainable_variance.py
78-
python tutorials/shortclips/02_plot_ridge_regression.py
79-
python tutorials/shortclips/03_plot_wordnet_model.py
75+
# run tutorials with a shortcut option to skip model fitting
76+
HIMALAYA_SKIP_FIT=True python tutorials/shortclips/00_download_shortclips.py
77+
HIMALAYA_SKIP_FIT=True python tutorials/shortclips/01_plot_explainable_variance.py
78+
HIMALAYA_SKIP_FIT=True python tutorials/shortclips/02_plot_ridge_regression.py
79+
HIMALAYA_SKIP_FIT=True python tutorials/shortclips/03_plot_wordnet_model.py
80+
HIMALAYA_SKIP_FIT=True python tutorials/shortclips/04_plot_hemodynamic_response.py
81+
HIMALAYA_SKIP_FIT=True python tutorials/shortclips/05_plot_motion_energy_model.py
82+
HIMALAYA_SKIP_FIT=True python tutorials/shortclips/06_plot_banded_ridge_model.py

0 commit comments

Comments
 (0)