Skip to content

Commit 41a2af5

Browse files
authored
Add GHA tests
1 parent 22f9b3a commit 41a2af5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Run Tests
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
name: Run Tests
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check out repository
11+
uses: actions/checkout@v3
12+
with:
13+
submodules: recursive
14+
15+
- name: Set up MATLAB
16+
uses: matlab-actions/setup-matlab@v1
17+
with:
18+
release: R2023b
19+
- name: Compile Toolbox
20+
uses: matlab-actions/run-command@v1
21+
with:
22+
command: addpath(genpath('.'));runTests;exit()

0 commit comments

Comments
 (0)