forked from Tradeshift/actions-junit-report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
38 lines (38 loc) · 1.07 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
name: 'JUnit Report Action'
description: 'Report JUnit test results as annotations on Github Pull Request [junit]'
branding:
icon: 'check-circle'
color: 'green'
inputs:
token:
description: 'Specify the token to use to publish the check.'
required: true
github_token:
description: 'Deprecated syntax to specify github token.'
required: true
report_paths:
description: 'JUnit xml report paths in glob format'
required: false
default: '**/junit-reports/TEST-*.xml'
suite_regex:
description: 'Regular expression for the named test suites'
required: false
default: ''
check_name:
description: 'Check name for test reports.'
required: false
default: 'JUnit Test Report'
commit:
description: 'Commit SHA to update the check status.'
required: false
fail_on_failure:
description: 'Fail the build in case a test failure occurred.'
required: false
default: 'false'
require_tests:
description: 'Fail if no test are found.'
required: false
default: 'false'
runs:
using: 'node12'
main: 'dist/index.js'