-
Notifications
You must be signed in to change notification settings - Fork 5
48 lines (48 loc) · 1.55 KB
/
test-matlab-r2023b.yml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: R2023b
on: [push]
jobs:
test-matlab-ubuntu:
name: Run MATLAB Tests on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v1
with:
release: R2023b
- name: Run tests and generate artifacts
uses: matlab-actions/run-tests@v1
with:
test-results-junit: test-results/results.xml
code-coverage-cobertura: code-coverage/coverage.xml
# test-matlab-macos:
# name: Run MATLAB Tests on Mac-OS
# runs-on: macos-latest
# steps:
# - name: Check out repository
# uses: actions/checkout@v3
# - name: Set up MATLAB
# uses: matlab-actions/setup-matlab@v1
# with:
# release: R2022b
# - name: Run tests and generate artifacts
# uses: matlab-actions/run-tests@v1
# with:
# test-results-junit: test-results/results.xml
# code-coverage-cobertura: code-coverage/coverage.xml
# test-matlab-windows:
# name: Run MATLAB Tests on Windows
# runs-on: windows-latest
# steps:
# - name: Check out repository
# uses: actions/checkout@v3
# - name: Set up MATLAB
# uses: matlab-actions/setup-matlab@v1
# with:
# release: R2022b
# - name: Run tests and generate artifacts
# uses: matlab-actions/run-tests@v1
# with:
# test-results-junit: test-results/results.xml
# code-coverage-cobertura: code-coverage/coverage.xml