Skip to content

Commit c60ccb4

Browse files
committed
added yaml file
1 parent 20b826b commit c60ccb4

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/ci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This is a basic check on build of this repo
2+
3+
name: MATLAB Build
4+
5+
# Controls when the action will run.
6+
on:
7+
# Triggers the workflow on push
8+
push:
9+
branches: [ main ]
10+
paths-ignore:
11+
- 'images/**'
12+
- 'resources/**'
13+
- '.gitattributes'
14+
- '.gitignore'
15+
- 'license.txt'
16+
- 'README.md'
17+
- 'SECURITY.md'
18+
19+
# Allows you to run this workflow manually from the Actions tab
20+
workflow_dispatch:
21+
22+
jobs:
23+
# This workflow contains a single job called "build"
24+
build:
25+
# The type of runner that the job will run on
26+
runs-on: ubuntu-latest
27+
28+
# Steps represent a sequence of tasks that will be executed as part of the job
29+
steps:
30+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
31+
- uses: actions/checkout@v3
32+
33+
# Sets up MATLAB on the GitHub Actions runner
34+
- name: Setup MATLAB
35+
uses: matlab-actions/setup-matlab@v1
36+
37+
# Runs a set of commands using the runners shell
38+
- name: Run all tests
39+
uses: matlab-actions/run-tests@v1
40+
with:
41+
source-folder: Helpers; SimModels

0 commit comments

Comments
 (0)