Skip to content

Commit

Permalink
Add test for calling setup-matlab twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Vahila committed Feb 13, 2025
1 parent 7e9161d commit 2b689a9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/bat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,12 @@ jobs:
with:
release: ${{ matrix.release }}
products: ${{ matrix.products }}
- name: Call setup MATLAB again with different release # should not error as in issue 130
uses: ./
with:
release: R2023b
- name: Check MATLAB version
uses: matlab-actions/run-command@v2
with:
command: matlabVer = ver('matlab'); assert(strcmp(matlabVer.Release,'(R2023b)'));

0 comments on commit 2b689a9

Please sign in to comment.