forked from abhargav-mw/sampleRepo
-
Notifications
You must be signed in to change notification settings - Fork 11
27 lines (26 loc) · 832 Bytes
/
bashTest.yml
File metadata and controls
27 lines (26 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Run MATLAB Script on GitHub-Hosted Runner
on: workflow_dispatch
jobs:
my-job:
name: Run MATLAB Script
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Install MATLAB
uses: matlab-actions/setup-matlab@v0
with:
release: R2020b
- name: Run script
uses: matlab-actions/run-command@v0
with:
command: version
- name: Run Tests
uses: matlab-actions/run-tests@newoptions-bash
with:
source-folder: src/folderA
test-results-pdf: test-results/results.pdf
test-results-junit: test-results/results.xml
select-by-tag: TestSquare
- name: testing artifacts
run: grep -c testSquareForNumbers test-results/results.xml