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 29, 2024
1 parent b3f7f51 commit 265defb
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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: >
Signal_Processing_Toolbox
DSP_System_Toolbox
Communications_Toolbox
Fixed-Point_Designer
Simulink
- name: Test Designer
uses: matlab-actions/run-command@v2
with:
command: addpath(genpath('.'));cd('test');runTests;exit()

0 comments on commit 265defb

Please sign in to comment.