Skip to content

Commit ac91d0d

Browse files
authored
Added GitHub Actions for gramm
1 parent b3aedfc commit ac91d0d

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/workflows/matlab.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# This workflow was generated using the GitHub Actions Workflow Generator for MATLAB.
2+
# See https://matlab-actions.github.io/workflow-generator
3+
4+
name: MATLAB
5+
6+
on:
7+
push:
8+
branches: [master]
9+
pull_request:
10+
branches: [master]
11+
workflow_dispatch: {}
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
# Set up MATLAB and other MathWorks products on the runner.
21+
- name: Set up MATLAB
22+
uses: matlab-actions/setup-matlab@v2
23+
with:
24+
release: latest
25+
cache: true
26+
# Set up additional products using the products input.
27+
# See https://github.com/matlab-actions/setup-matlab/#set-up-matlab
28+
# products: Simulink Deep_Learning_Toolbox
29+
30+
# Run tests authored using the MATLAB unit testing framework or Simulink Test.
31+
#- name: Run MATLAB tests
32+
# uses: matlab-actions/run-tests@v2
33+
# If you are not using a MATLAB project, add your source code to the path using the source-folder input.
34+
# with:
35+
# source-folder: myfolderA; myfolderB
36+
37+
# Alternatively, run tasks from your buildfile.m.
38+
- name: Run MATLAB build
39+
uses: matlab-actions/run-build@v2
40+
# with:
41+
# tasks: test
42+
43+
# Alternatively, run MATLAB scripts, functions, and statements.
44+
# - name: Run MATLAB command
45+
# uses: matlab-actions/run-command@v2
46+
# with:
47+
# command: results = runtests('IncludeSubfolders',true); assertSuccess(results);

0 commit comments

Comments
 (0)