@@ -14,7 +14,7 @@ function test_checkParameters_output_dir()
1414 cfg = checkParameters(cfg );
1515
1616 % test
17- if which( ' bids.internal.file_utils ' )
17+ if ~ bids .internal .is_github_ci
1818 cfg.dir.output = bids .internal .file_utils(cfg .dir .output , ' cpath' );
1919 assertEqual(cfg .dir .output , ...
2020 bids .internal .file_utils(fullfile(fileparts(mfilename(' fullpath' )), ...
@@ -110,8 +110,8 @@ function test_checkParameters_MT()
110110 cfg = removeDirFieldForGithubAction(cfg );
111111
112112 % uncomment for update default config .mat
113- % expected = cfg;
114- % save(fullfile(fileparts(mfilename('fullpath')), 'data', 'config_MT.mat'), 'expected');
113+ % expected = cfg;
114+ % save(fullfile(fileparts(mfilename('fullpath')), 'data', 'config_MT.mat'), 'expected');
115115 load(fullfile(fileparts(mfilename(' fullpath' )), ' data' , ' config_MT.mat' ), ' expected' );
116116
117117 % test
@@ -130,8 +130,8 @@ function test_checkParameters_MT_MST()
130130 cfg = removeDirFieldForGithubAction(cfg );
131131
132132 % uncomment for update default config .mat
133- % expected = cfg;
134- % save(fullfile(fileparts(mfilename('fullpath')), 'data', 'config_MT_MST.mat'), 'expected');
133+ % expected = cfg;
134+ % save(fullfile(fileparts(mfilename('fullpath')), 'data', 'config_MT_MST.mat'), 'expected');
135135 load(fullfile(fileparts(mfilename(' fullpath' )), ' data' , ' config_MT_MST.mat' ), ' expected' );
136136
137137 % test
0 commit comments