Skip to content

Commit

Permalink
fix matlab test
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Apr 8, 2023
1 parent 8dcedad commit 67065dc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ jobs:
- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v1
- name: Run MATLAB test
run: |
echo "addpath(pwd);cd test;run_jsonlab_test" | matlab -nojvm -nodesktop
echo "addpath(pwd);cd examples; demo_jsonlab_basic; jsonlab_selftest" | matlab -nojvm -nodesktop
uses: matlab-actions/run-command@v1
with:
command: addpath(pwd);cd test;run_jsonlab_test
- name: Run MATLAB examples
uses: matlab-actions/run-command@v1
with:
command: addpath(pwd);cd examples; demo_jsonlab_basic; jsonlab_selftest

0 comments on commit 67065dc

Please sign in to comment.