File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1111 uses : matlab-actions/run-build@v2
1212 with :
1313 startup-options : ${{ matrix.startup-options }} -logfile ${{ matrix.release }}-${{ runner.os }}-test.log
14- tasks : ${{ matrix.release < 'R2024b' && !startsWith(matrix.release, 'latest') && 'test_mex test_exe' || 'test:mex test:exe' }}
14+ tasks : ${{ ( matrix.release < 'R2024b' && !startsWith(matrix.release, 'latest') ) && 'test_mex test_exe' || 'test:mex test:exe' }}
Original file line number Diff line number Diff line change 2222 tasks : test_nomex
2323
2424
25+ - name : Java Test
26+ if : ${{ !contains(matrix.startup-options, '-nojvm') && (matrix.release >= 'R2024b' || startsWith(matrix.release, 'latest')) }}
27+ uses : matlab-actions/run-build@v2
28+ with :
29+ startup-options : ${{ matrix.startup-options }}
30+ tasks : test:java
31+
32+
33+ - name : Java Test (< R2024b)
34+ if : ${{ !contains(matrix.startup-options, '-nojvm') && (matrix.release >= 'R2023b' && matrix.release < 'R2024b' && !startsWith(matrix.release, 'latest')) }}
35+ uses : matlab-actions/run-build@v2
36+ with :
37+ startup-options : ${{ matrix.startup-options }}
38+ tasks : test_java
39+
40+
2541# note: "source-folder" is necessary, but watch out as it adds all subfolders to path too
2642# https://github.com/matlab-actions/run-tests?tab=readme-ov-file#run-matlab-tests
2743 - name : Non-mex tests (< R2023b)
Original file line number Diff line number Diff line change 6060 Selector= cjava , ...
6161 TestResults= " TestResults_java.xml" , Strict= true );
6262
63+ plan(" test:hdf4" ) = matlab .buildtool .tasks .TestTask(" test" , Tag= " hdf4" , Strict= true );
64+ plan(" test:hdf5" ) = matlab .buildtool .tasks .TestTask(" test" , Tag= " hdf5" , Strict= true );
65+
6366 plan(" clean_mex" ) = matlab .buildtool .Task(Actions = @clean_mex , Description= " Clean only MEX files to enable incremental tests" );
6467end
6568
You can’t perform that action at this time.
0 commit comments