Skip to content

Commit

Permalink
Another try at matlab-setup@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
nunofachada committed Aug 5, 2024
1 parent 143ba93 commit df60868
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ jobs:
path: 'MOxUnit'
- name: Run tests on Octave
if: matrix.config.moc == 'octave'
run: |
export MOXUNIT_PATH=${{ github.workspace }}/MOxUnit/MOxUnit
octave --no-gui tests/run_headless.m
env:
MOXUNIT_PATH: ${{ github.workspace }}/MOxUnit/MOxUnit
run: octave --no-gui tests/run_headless.m
- name: Run tests on MATLAB
if: matrix.config.moc == 'matlab'
run: |
export MOXUNIT_PATH=${{ github.workspace }}/MOxUnit/MOxUnit
matlab -batch "addpath('tests');run_headless"
env:
MOXUNIT_PATH: ${{ github.workspace }}/MOxUnit/MOxUnit
uses: matlab-actions/run-command@v2
with:
command: tests/run_headless

0 comments on commit df60868

Please sign in to comment.