Skip to content

Fix GitHub actions failures #185

Fix GitHub actions failures

Fix GitHub actions failures #185

Workflow file for this run

name: CI using MATLAB
on:
push:
paths-ignore:
- 'docs/**'
- '**.md'
- '**.png'
- '**.svg'
- '**.txt'
- '**.xml'
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'
- '**.png'
- '**.svg'
- '**.txt'
- '**.xml'
schedule:
# Every Monday at 03:00 UTC
- cron: '0 3 * * 1'
jobs:
job-Remote-Microgrid-unit-tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v2
with:
release: R2025b
cache: true
products: |
Simulink
Simscape
Simscape_Electrical
Optimization_Toolbox
Stateflow
- name: Run tests
uses: matlab-actions/run-command@v2
with:
command: 'openProject(pwd); TestRunnerRemoteMicrogrid;'
job-Industrial-Microgrid-unit-tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v2
with:
release: R2025b
cache: true
products: |
Simulink
Simscape
Simscape_Electrical
Optimization_Toolbox
Stateflow
- name: Run tests
uses: matlab-actions/run-command@v2
with:
command: 'openProject(pwd); TestRunnerIndustrialMicrogrid;'
job-Techno-EconomicAnalysis-unit-tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v2
with:
release: R2025b
cache: true
products: |
Simulink
Simscape
Simscape_Electrical
Optimization_Toolbox
Stateflow
- name: Run tests
uses: matlab-actions/run-command@v2
with:
command: 'openProject(pwd); TestRunnerTechnoEconomicAnalysis;'
job-Microgrid-Control-unit-tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v2
with:
release: R2025b
cache: true
products: |
Simulink
Simscape
Simscape_Electrical
Optimization_Toolbox
Stateflow
- name: Run tests
uses: matlab-actions/run-command@v2
with:
command: 'openProject(pwd); TestRunnerMicrogridControl;'