34
34
- ' **.xml'
35
35
36
36
jobs :
37
- check-project :
38
- name : Check Project on ${{ matrix.os }} with MATLAB ${{ matrix.matlab_version }}
37
+ run-all-tests :
38
+ name : Run All Tests on ${{ matrix.os }} with MATLAB ${{ matrix.matlab_version }}
39
39
runs-on : ${{ matrix.os }}
40
40
strategy :
41
41
matrix :
@@ -51,49 +51,19 @@ jobs:
51
51
uses : matlab-actions/setup-matlab@v2
52
52
with :
53
53
release : ${{ matrix.matlab_version }}
54
- products : >
54
+ products : |
55
55
Simulink
56
56
Simscape
57
57
Simscape_Electrical
58
58
Simscape_Fluids
59
59
Control_System_Toolbox
60
60
Motor_Control_Blockset
61
61
62
- - name : Run Project Tests
62
+ - name : Run All Tests (Except Motor-CAD Interface Tests)
63
63
uses : matlab-actions/run-command@v2
64
64
with :
65
65
command : |
66
66
openProject(pwd);
67
67
ImportMotorCADThermalModel_CheckProject_runtests;
68
-
69
- run-libraries-tests :
70
- name : Run Libraries Tests on ${{ matrix.os }} with MATLAB ${{ matrix.matlab_version }}
71
- runs-on : ${{ matrix.os }}
72
- strategy :
73
- matrix :
74
- os : [ubuntu-latest, windows-latest, macos-latest]
75
- matlab_version : [R2021b, R2022b, R2023b, R2024b]
76
- env :
77
- EDITOR : nano # Setting the EDITOR environment variable
78
- steps :
79
- - name : Check out repository
80
- uses : actions/checkout@v4
81
-
82
- - name : Setup MATLAB ${{ matrix.matlab_version }}
83
- uses : matlab-actions/setup-matlab@v2
84
- with :
85
- release : ${{ matrix.matlab_version }}
86
- products : >
87
- Simulink
88
- Simscape
89
- Simscape_Electrical
90
- Simscape_Fluids
91
- Control_System_Toolbox
92
- Motor_Control_Blockset
93
-
94
- - name : Run Libraries Tests
95
- uses : matlab-actions/run-command@v2
96
- with :
97
- command : |
98
- openProject(pwd);
99
68
ImportMotorCADThermalModel_runlibtests;
69
+ ImportMotorCADThermalModel_runmodeltests;
0 commit comments