Skip to content

Commit

Permalink
Update and rename checkMATLABRelease.yml to manualMATLABReleaseTest.yml
Browse files Browse the repository at this point in the history
Revise to run the tests against all releases
  • Loading branch information
rpurser47 committed Sep 8, 2024
1 parent d9c647a commit f39e419
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 27 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/checkMATLABRelease.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/manualMATLABReleaseTest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Manually run tests against MATLAB Release

on:
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
name: Test MATLAB Releases
strategy:
fail-fast: false
matrix:
MATLABVersion: [R2020a, R2020b, R2021a, R2021b, R2022a, R2022b, R2023a, R2023b, R2024a]
# The type of runner that the job will run on # The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out repo
uses: actions/checkout@v4

- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v1
with:
release: ${{ matrix.MATLABVersion }}

# Runs all tests in the project. Put results in a version specific subdirectory
- name: Run tests
uses: matlab-actions/run-command@v2
with:
command: addpath("buildUtilities"),testToolbox('ReportSubdirectory',"${{ matrix.MATLABVersion }}")

0 comments on commit f39e419

Please sign in to comment.