Skip to content

Commit 0e6c3cd

Browse files
authored
CI: check out RobustToolbox so nightly walkthroughs pass (weighted_corrcoef dep) (#85)
Adds a RobustToolbox checkout + addpath to tests-walkthroughs.yml so the regression walkthrough can resolve weighted_corrcoef. Verified via a headless workflow_dispatch run: 10 tests, 0 failures, 0 errors, 1 expected skip.
1 parent 8f4f2bc commit 0e6c3cd

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/tests-walkthroughs.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,17 @@ jobs:
3939
repository: canlab/CANlab_help_examples
4040
path: CANlab_help_examples
4141

42+
- name: Checkout RobustToolbox
43+
# Provides weighted_corrcoef (Robust_stats_functions/), a dependency of
44+
# plot_correlation_samefig's robust branch used by the regression
45+
# walkthrough. A normal canlab_toolbox_setup install adds this sibling
46+
# repo to the path; CI must too, or walkthrough 5 errors with
47+
# "Undefined function 'weighted_corrcoef'".
48+
uses: actions/checkout@v4
49+
with:
50+
repository: canlab/RobustToolbox
51+
path: RobustToolbox
52+
4253
- name: Clone SPM25
4354
run: git clone --depth=1 --branch 25.01.02 https://github.com/spm/spm.git "${GITHUB_WORKSPACE}/spm"
4455

@@ -59,6 +70,7 @@ jobs:
5970
addpath(genpath('CanlabCore'));
6071
addpath(genpath('Neuroimaging_Pattern_Masks'));
6172
addpath(genpath('CANlab_help_examples'));
73+
addpath(genpath('RobustToolbox'));
6274
% NB: addpath, not genpath — SPM compat shims would shadow
6375
% MATLAB builtins; see test.yml for the same rationale.
6476
addpath('spm');

0 commit comments

Comments
 (0)