Skip to content

Commit 67065dc

Browse files
committed
fix matlab test
1 parent 8dcedad commit 67065dc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/run_test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ jobs:
4747
- name: Set up MATLAB
4848
uses: matlab-actions/setup-matlab@v1
4949
- name: Run MATLAB test
50-
run: |
51-
echo "addpath(pwd);cd test;run_jsonlab_test" | matlab -nojvm -nodesktop
52-
echo "addpath(pwd);cd examples; demo_jsonlab_basic; jsonlab_selftest" | matlab -nojvm -nodesktop
50+
uses: matlab-actions/run-command@v1
51+
with:
52+
command: addpath(pwd);cd test;run_jsonlab_test
53+
- name: Run MATLAB examples
54+
uses: matlab-actions/run-command@v1
55+
with:
56+
command: addpath(pwd);cd examples; demo_jsonlab_basic; jsonlab_selftest

0 commit comments

Comments
 (0)