|
7 | 7 | steps: |
8 | 8 |
|
9 | 9 | - name: Non-Mex Test |
10 | | - if: ${{ matrix.release >= 'R2024b' || startsWith(matrix.release, 'latest') }} |
| 10 | + if: ${{ matrix.release >= 'R2024b' }} |
11 | 11 | uses: matlab-actions/run-build@v2 |
12 | 12 | with: |
13 | 13 | startup-options: ${{ matrix.startup-options }} |
14 | 14 | tasks: test:nomex |
15 | 15 |
|
16 | 16 |
|
17 | 17 | - name: Non-Mex Test (< R2024b) |
18 | | - if: ${{ matrix.release >= 'R2023b' && matrix.release < 'R2024b' && !startsWith(matrix.release, 'latest') }} |
| 18 | + if: ${{ matrix.release >= 'R2023b' && matrix.release < 'R2024b' }} |
19 | 19 | uses: matlab-actions/run-build@v2 |
20 | 20 | with: |
21 | 21 | startup-options: ${{ matrix.startup-options }} |
22 | 22 | tasks: test_nomex |
23 | 23 |
|
24 | 24 |
|
25 | 25 | - name: Java Test |
26 | | - if: ${{ !contains(matrix.startup-options, '-nojvm') && (matrix.release >= 'R2024b' || startsWith(matrix.release, 'latest')) }} |
| 26 | + if: ${{ !contains(matrix.startup-options, '-nojvm') && matrix.release >= 'R2024b' }} |
27 | 27 | uses: matlab-actions/run-build@v2 |
28 | 28 | with: |
29 | 29 | startup-options: ${{ matrix.startup-options }} |
30 | 30 | tasks: test:java |
31 | 31 |
|
32 | 32 |
|
33 | 33 | - name: Java Test (< R2024b) |
34 | | - if: ${{ !contains(matrix.startup-options, '-nojvm') && (matrix.release >= 'R2023b' && matrix.release < 'R2024b' && !startsWith(matrix.release, 'latest')) }} |
| 34 | + if: ${{ !contains(matrix.startup-options, '-nojvm') && matrix.release >= 'R2023b' && matrix.release < 'R2024b' }} |
35 | 35 | uses: matlab-actions/run-build@v2 |
36 | 36 | with: |
37 | 37 | startup-options: ${{ matrix.startup-options }} |
|
41 | 41 | # note: "source-folder" is necessary, but watch out as it adds all subfolders to path too |
42 | 42 | # https://github.com/matlab-actions/run-tests?tab=readme-ov-file#run-matlab-tests |
43 | 43 | - name: Non-mex tests (< R2023b) |
44 | | - if: ${{ matrix.release < 'R2023b' && !startsWith(matrix.release, 'latest') }} |
| 44 | + if: ${{ matrix.release < 'R2023b' }} |
45 | 45 | uses: matlab-actions/run-command@v2 |
46 | 46 | with: |
47 | 47 | command: addpath("${{ github.workspace }}"), test_nomex |
|
0 commit comments