1- # GitHub Actions Workflow with MATLAB Actions
2- #
3- # For a general overview of GitHub Actions, see
4- # https://docs.github.com/en/actions
5- #
6- # For using MathWorks products in GitHub Actions, see
7- # https://github.com/matlab-actions/overview
8- #
9- # For details about the syntax of this file, see
10- # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
11-
12- # Copyright 2023-2026 The MathWorks, Inc.
13-
141name : CI using MATLAB
152
163on :
3320 - ' **.xml'
3421
3522 schedule :
36- - cron : ' 55/61 20/25 1/6 * *' # schedule a weekly-ish build
23+
24+ # Every Monday at 03:00 UTC
25+ - cron : ' 0 3 * * 1'
3726
38- jobs :
3927
28+ jobs :
4029 job-Remote-Microgrid-unit-tests :
4130 runs-on : ubuntu-latest
4231 steps :
5948 - name : Run tests
6049 uses : matlab-actions/run-command@v2
6150 with :
62- command : openProject(pwd); TestRunnerRemoteMicrogrid;
63-
51+ command : ' openProject(pwd); TestRunnerRemoteMicrogrid;'
52+
6453 job-Industrial-Microgrid-unit-tests :
6554 runs-on : ubuntu-latest
6655 steps :
8372 - name : Run tests
8473 uses : matlab-actions/run-command@v2
8574 with :
86- command : openProject(pwd); TestRunnerIndustrialMicrogrid;
75+ command : ' openProject(pwd); TestRunnerIndustrialMicrogrid;'
8776
8877 job-Techno-EconomicAnalysis-unit-tests :
8978 runs-on : ubuntu-latest
10796 - name : Run tests
10897 uses : matlab-actions/run-command@v2
10998 with :
110- command : openProject(pwd); TestRunnerTechnoEconomicAnalysis;
99+ command : ' openProject(pwd); TestRunnerTechnoEconomicAnalysis;'
111100
112- job-Microgrid-Control-unit-tests :
101+ job-Microgrid-Control-unit-tests :
113102 runs-on : ubuntu-latest
114103 steps :
115104
@@ -131,4 +120,4 @@ jobs:
131120 - name : Run tests
132121 uses : matlab-actions/run-command@v2
133122 with :
134- command : openProject(pwd); TestRunnerMicrogridControl;
123+ command : ' openProject(pwd); TestRunnerMicrogridControl;'
0 commit comments