Skip to content

Commit 5566a43

Browse files
committed
[ci] fix windows matlab test
1 parent e3e427a commit 5566a43

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/run_test.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ jobs:
6767
uses: matlab-actions/setup-matlab@v1
6868
with:
6969
release: R2022a
70-
- name: Install octave-image (Windows only)
71-
if: ${{ runner.os == 'Windows' }}
72-
run: octave-cli --eval "pkg install -forge image"
7370
- name: Run MATLAB test
7471
uses: matlab-actions/run-command@v1
7572
with:
@@ -82,10 +79,15 @@ jobs:
8279
uses: matlab-actions/run-command@v1
8380
with:
8481
command: addpath(pwd);cd sample; tic; demo_surf2mesh_ex1; demo_directplc_ex1; toc; demo_grayscale_ex1; toc
82+
- name: Run MATLAB examples
83+
if: ${{ runner.os != 'Windows' }}
84+
uses: matlab-actions/run-command@v1
85+
with:
86+
command: addpath(pwd);cd sample; tic; demo_surf2vol_ex1; toc
8587
- name: Run MATLAB examples
8688
uses: matlab-actions/run-command@v1
8789
with:
88-
command: addpath(pwd);cd sample; tic; demo_shortcut_ex1; demo_surf2vol_ex1; toc; demo_label_sizing; toc
90+
command: addpath(pwd);cd sample; tic; demo_shortcut_ex1; toc; demo_label_sizing; toc
8991
- name: Run MATLAB examples
9092
uses: matlab-actions/run-command@v1
9193
with:

0 commit comments

Comments
 (0)