Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/tests-walkthroughs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,17 @@ jobs:
repository: canlab/CANlab_help_examples
path: CANlab_help_examples

- name: Checkout RobustToolbox
# Provides weighted_corrcoef (Robust_stats_functions/), a dependency of
# plot_correlation_samefig's robust branch used by the regression
# walkthrough. A normal canlab_toolbox_setup install adds this sibling
# repo to the path; CI must too, or walkthrough 5 errors with
# "Undefined function 'weighted_corrcoef'".
uses: actions/checkout@v4
with:
repository: canlab/RobustToolbox
path: RobustToolbox

- name: Clone SPM25
run: git clone --depth=1 --branch 25.01.02 https://github.com/spm/spm.git "${GITHUB_WORKSPACE}/spm"

Expand All @@ -59,6 +70,7 @@ jobs:
addpath(genpath('CanlabCore'));
addpath(genpath('Neuroimaging_Pattern_Masks'));
addpath(genpath('CANlab_help_examples'));
addpath(genpath('RobustToolbox'));
% NB: addpath, not genpath — SPM compat shims would shadow
% MATLAB builtins; see test.yml for the same rationale.
addpath('spm');
Expand Down
Loading