Skip to content

Commit 196ace2

Browse files
author
Angel Gonzalez
committed
fix: ci.yml to install required products
1 parent 45e41a6 commit 196ace2

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
# https://docs.github.com/en/actions
55
#
66
# For using MathWorks products in GitHub Actions, see
7-
# https://github.com/matlab-actions/overview
7+
# https://github.com/matlab-actions/
88
#
99
# For details about the syntax of this file, see
1010
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
1111

1212
# Copyright 2023-2025 The MathWorks, Inc.
13-
1413
name: CI using MATLAB Across Multiple OS and MATLAB Versions
1514

1615
on:
@@ -42,6 +41,8 @@ jobs:
4241
matrix:
4342
os: [ubuntu-latest, windows-latest, macos-latest]
4443
matlab_version: [R2021b, R2022b, R2023b, R2024b]
44+
env:
45+
EDITOR: nano # Setting the EDITOR environment variable
4546
steps:
4647
- name: Check out repository
4748
uses: actions/checkout@v4
@@ -50,6 +51,13 @@ jobs:
5051
uses: matlab-actions/setup-matlab@v2
5152
with:
5253
release: ${{ matrix.matlab_version }}
54+
products: >
55+
Simulink
56+
Simscape
57+
Simscape_Electrical
58+
Simscape_Fluids
59+
Control_System_Toolbox
60+
Motor_Control_Blockset
5361
5462
- name: Run Project Tests
5563
uses: matlab-actions/run-command@v2
@@ -65,6 +73,8 @@ jobs:
6573
matrix:
6674
os: [ubuntu-latest, windows-latest, macos-latest]
6775
matlab_version: [R2021b, R2022b, R2023b, R2024b]
76+
env:
77+
EDITOR: nano # Setting the EDITOR environment variable
6878
steps:
6979
- name: Check out repository
7080
uses: actions/checkout@v4
@@ -73,6 +83,13 @@ jobs:
7383
uses: matlab-actions/setup-matlab@v2
7484
with:
7585
release: ${{ matrix.matlab_version }}
86+
products: >
87+
Simulink
88+
Simscape
89+
Simscape_Electrical
90+
Simscape_Fluids
91+
Control_System_Toolbox
92+
Motor_Control_Blockset
7693
7794
- name: Run Libraries Tests
7895
uses: matlab-actions/run-command@v2

0 commit comments

Comments
 (0)