Skip to content

Commit e8d600f

Browse files
committed
Add GHA for testing
Signed-off-by: Travis F. Collins <[email protected]>
1 parent c12b15d commit e8d600f

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/test.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Run Tests
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
name: Run Tests
8+
runs-on: ubuntu-latest
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
matlab-version: ['R2021a', 'R2021b', 'R2022a', 'R2022b', 'R2023a', 'R2023b', 'R2024a']
13+
14+
steps:
15+
- name: Check out repository
16+
uses: actions/checkout@v3
17+
with:
18+
submodules: recursive
19+
20+
- name: Set up MATLAB
21+
uses: matlab-actions/setup-matlab@v2
22+
with:
23+
release: ${{ matrix.matlab-version }}
24+
products: >
25+
Signal_Processing_Toolbox
26+
DSP_System_Toolbox
27+
Communications_Toolbox
28+
Fixed-Point_Designer
29+
Simulink
30+
31+
- name: Test Designer
32+
uses: matlab-actions/run-command@v2
33+
with:
34+
command: addpath(genpath('.'));cd('test');runTests;exit()

0 commit comments

Comments
 (0)