Skip to content

Commit 2b689a9

Browse files
committed
Add test for calling setup-matlab twice
1 parent 7e9161d commit 2b689a9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/bat.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,12 @@ jobs:
8989
with:
9090
release: ${{ matrix.release }}
9191
products: ${{ matrix.products }}
92+
- name: Call setup MATLAB again with different release # should not error as in issue 130
93+
uses: ./
94+
with:
95+
release: R2023b
96+
- name: Check MATLAB version
97+
uses: matlab-actions/run-command@v2
98+
with:
99+
command: matlabVer = ver('matlab'); assert(strcmp(matlabVer.Release,'(R2023b)'));
100+

0 commit comments

Comments
 (0)