-
Notifications
You must be signed in to change notification settings - Fork 7
/
action.yml
52 lines (50 loc) · 1.6 KB
/
action.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
49
50
51
52
# action.yml
name: 'MOxUnit Action'
description: 'Run unittests for Matlab/Octave using MOxUnit'
inputs:
tests:
description: 'directory containing the MOxUnit test cases'
src:
description: 'directory of the source code'
log_file:
description: 'store the output in file output'
doc_tests:
description: 'run documentation tests with MOdoc'
with_coverage:
description: 'set to true to record coverage using MOCov'
cover_xml_file:
description: 'store coverage XML output in file'
cover_html_dir:
description: 'store coverage HTML output in directory'
cover_junit_xml_file:
description: 'store test results in junit XML file'
cover_json_file:
description: 'store coverage report in json file for processing by coveralls.io'
data:
description: 'directory containing the test data'
pkg:
description: 'list of Octave packages to load (image, io, optim, parallel, statistics, struct)'
ext:
description: 'other directories e.g. external dependencies'
working_directory:
description: 'relative path to an optional working directory under the github workspace'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.tests }}
- ${{ inputs.src }}
- ${{ inputs.log_file }}
- ${{ inputs.doc_tests }}
- ${{ inputs.with_coverage }}
- ${{ inputs.cover_xml_file }}
- ${{ inputs.cover_html_dir }}
- ${{ inputs.cover_junit_xml_file }}
- ${{ inputs.cover_json_file }}
- ${{ inputs.data }}
- ${{ inputs.pkg }}
- ${{ inputs.ext }}
- ${{ inputs.working_directory }}
branding:
icon: check-circle
color: green