|
1 | 1 | name: Run Matlab Tests |
2 | 2 | on: [push] |
3 | | -env: |
4 | | - MLM_LICENSE_TOKEN: ${{ secrets.MLM_LICENSE_TOKEN }} |
5 | | -jobs: |
6 | | - matlab-test-job: |
7 | | - name: Run Matlab tests and generate reports |
8 | | - runs-on: ubuntu-latest |
9 | | - steps: |
10 | | - - uses: actions/checkout@v4 |
11 | | - - name: Setup MATLAB |
12 | | - uses: matlab-actions/setup-matlab@v2 |
13 | | - with: |
14 | | - release: R2023b #We want coverage reports, so we bump up our version |
15 | | - cache: true |
16 | | - products: |
17 | | - MATLAB |
18 | | - Bioinformatics_Toolbox |
19 | | - Parallel_Computing_Toolbox |
20 | | - Statistics_and_Machine_Learning_Toolbox |
21 | | - Image_Processing_Toolbox |
22 | | - - name: Check Matlab Install |
23 | | - uses: matlab-actions/run-command@v2 |
24 | | - with: |
25 | | - command: ver |
26 | | - - name: Run script |
27 | | - uses: matlab-actions/run-command@v2 |
28 | | - with: |
29 | | - command: addpath(genpath(pwd)); results = runTests(); assertSuccess(results) |
| 3 | +#env: |
| 4 | +# MLM_LICENSE_TOKEN: ${{ secrets.MLM_LICENSE_TOKEN }} |
| 5 | +#jobs: |
| 6 | +# matlab-test-job: |
| 7 | +# name: Run Matlab tests and generate reports |
| 8 | +# runs-on: ubuntu-latest |
| 9 | +# steps: |
| 10 | +# - uses: actions/checkout@v4 |
| 11 | +# - name: Setup MATLAB |
| 12 | +# uses: matlab-actions/setup-matlab@v2 |
| 13 | +# with: |
| 14 | +# release: R2023b #We want coverage reports, so we bump up our version |
| 15 | +# cache: true |
| 16 | +# products: |
| 17 | +# MATLAB |
| 18 | +# Bioinformatics_Toolbox |
| 19 | +# Parallel_Computing_Toolbox |
| 20 | +# Statistics_and_Machine_Learning_Toolbox |
| 21 | +# Image_Processing_Toolbox |
| 22 | +# - name: Check Matlab Install |
| 23 | +# uses: matlab-actions/run-command@v2 |
| 24 | +# with: |
| 25 | +# command: ver |
| 26 | +# - name: Run script |
| 27 | +# uses: matlab-actions/run-command@v2 |
| 28 | +# with: |
| 29 | +# command: addpath(genpath(pwd)); results = runTests(); assertSuccess(results) |
0 commit comments