Skip to content

Commit f39e419

Browse files
authored
Update and rename checkMATLABRelease.yml to manualMATLABReleaseTest.yml
Revise to run the tests against all releases
1 parent d9c647a commit f39e419

File tree

2 files changed

+32
-27
lines changed

2 files changed

+32
-27
lines changed

.github/workflows/checkMATLABRelease.yml

-27
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Manually run tests against MATLAB Release
2+
3+
on:
4+
workflow_dispatch:
5+
6+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
7+
jobs:
8+
test:
9+
name: Test MATLAB Releases
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
MATLABVersion: [R2020a, R2020b, R2021a, R2021b, R2022a, R2022b, R2023a, R2023b, R2024a]
14+
# The type of runner that the job will run on # The type of runner that the job will run on
15+
runs-on: ubuntu-latest
16+
17+
# Steps represent a sequence of tasks that will be executed as part of the job
18+
steps:
19+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
20+
- name: Check out repo
21+
uses: actions/checkout@v4
22+
23+
- name: Set up MATLAB
24+
uses: matlab-actions/setup-matlab@v1
25+
with:
26+
release: ${{ matrix.MATLABVersion }}
27+
28+
# Runs all tests in the project. Put results in a version specific subdirectory
29+
- name: Run tests
30+
uses: matlab-actions/run-command@v2
31+
with:
32+
command: addpath("buildUtilities"),testToolbox('ReportSubdirectory',"${{ matrix.MATLABVersion }}")

0 commit comments

Comments
 (0)