Skip to content

Commit

Permalink
Add GHA for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Aug 28, 2024
1 parent 2adbead commit 75b92d4
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run Tests

on: [push]

jobs:
build:
name: Run Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
matlab-version: ['R2021b', 'R2023a', 'R2023b', 'R2024a']

steps:
- name: Check out repository
uses: actions/checkout@v3
with:
submodules: recursive

- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v2
with:
release: ${{ matrix.matlab-version }}
products: DSP_System_Toolbox

- name: Test Designer
uses: matlab-actions/run-command@v2
with:
command: addpath(genpath('.'));cd('test');runTests;exit()

0 comments on commit 75b92d4

Please sign in to comment.