Skip to content

lint(installGibbon): spaces and indentation #1

lint(installGibbon): spaces and indentation

lint(installGibbon): spaces and indentation #1

Workflow file for this run

name: MATLAB CI
on:
push:
pull_request:
env:
MATLAB_PRODUCTS: >-
Image_Processing_Toolbox
Optimization_Toolbox
Statistics_and_Machine_Learning_Toolbox
jobs:
matlab_tests:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: MATLAB_6_CommonTests
tests: Test/Common
report: Test/Common/coverage_common.xml
- name: MATLAB_7_ModelsTests
tests: Test/Models
report: Test/Models/coverage_models.xml
- name: MATLAB_8_ModelsFunctionsTests
tests: Test/Models_Functions
report: Test/Models_Functions/coverage_models_functions.xml
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v2
with:
products: ${{ env.MATLAB_PRODUCTS }}
- name: Run MATLAB tests
uses: matlab-actions/run-command@v2
with:
command: |
startup;
qMRLabVer;
[testResults, coverageResults] = runtests('${{ matrix.tests }}', 'ReportCoverageFor', 'src', 'IncludeSubfolders', true);
coverageResults.generateCoberturaReport('${{ matrix.report }}');
allPassed = all([testResults.assertSuccess().Passed]);
exit(~allPassed);
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: ${{ matrix.report }}
flags: matlab
fail_ci_if_error: false+++++