Skip to content

fix: improved robustness for multi-cooling system configurations incl… #15

fix: improved robustness for multi-cooling system configurations incl…

fix: improved robustness for multi-cooling system configurations incl… #15

Workflow file for this run

# GitHub Actions Workflow with MATLAB Actions
#
# For a general overview of GitHub Actions, see
# https://docs.github.com/en/actions
#
# For using MathWorks products in GitHub Actions, see
# https://github.com/matlab-actions/
#
# For details about the syntax of this file, see
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
# Copyright 2023-2025 The MathWorks, Inc.
name: CI using MATLAB Across Multiple OS and MATLAB Versions
on:
push:
branches: [ master ]
paths-ignore:
- 'docs/**'
- '**.md'
- '**.png'
- '**.svg'
- '**.txt'
- '**.xml'
pull_request:
branches: [ master ]
paths-ignore:
- 'docs/**'
- '**.md'
- '**.png'
- '**.svg'
- '**.txt'
- '**.xml'
jobs:
run-all-tests:
name: Run All Tests on ${{ matrix.os }} with MATLAB ${{ matrix.matlab_version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
matlab_version: [R2021b, R2022b, R2023b, R2024b]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Setup MATLAB ${{ matrix.matlab_version }}
uses: matlab-actions/setup-matlab@v2
with:
release: ${{ matrix.matlab_version }}
products: |
Simulink
Simscape
Simscape_Electrical
Simscape_Fluids
Control_System_Toolbox
Motor_Control_Blockset
- name: Run All Tests (Except Motor-CAD Interface Tests)
uses: matlab-actions/run-command@v2
with:
command: |
openProject(pwd);
ImportMotorCADThermalModel_CheckProject_runtests;
ImportMotorCADThermalModel_runlibtests;
ImportMotorCADThermalModel_runmodeltests;