Skip to content

Commit c788e50

Browse files
committed
260220.162917.CET [skip ci] try run-matlab-command with timeout
1 parent 387003e commit c788e50

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/stress_test_matlab.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,10 @@ jobs:
191191
run: bash .github/scripts/install_run_matlab_command
192192

193193
- name: Conduct the test; treat timeout as SUCCESS (exit 0)
194-
uses: equipez/success-on-timeout@v1
194+
uses: equipez/run-matlab-command
195195
with:
196-
time: 5h
196+
time: 1m
197197
command: |
198-
cat <<'EOF' > run_test.m
199198
ver;
200199
root_dir = pwd();
201200
cd(fullfile(root_dir, 'matlab/tests'));
@@ -210,8 +209,3 @@ jobs:
210209
options.precision = 'date';
211210
end
212211
stress('${{ matrix.solver }}', options);
213-
EOF
214-
215-
cat run_test.m
216-
217-
run-matlab-command "run('run_test.m');" # See https://github.com/matlab-actions/run-command/issues/53

0 commit comments

Comments
 (0)