forked from ScaCap/action-surefire-report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
40 lines (39 loc) · 1.13 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
name: 'Surefire Report'
description: 'Report Surefire test results as annotations on Github Pull Request [junit, failsafe]'
branding:
icon: 'check-square'
color: 'green'
inputs:
github_token:
description: 'GITHUB_TOKEN'
required: true
default: ${{ github.token }}
report_paths:
description: 'surefire/failsafe/junit compatible xml report paths in glob format'
required: false
default: '**/surefire-reports/TEST-*.xml, **/failsafe-reports/TEST-*.xml'
check_name:
description: 'check name for test reports'
required: false
default: 'Test Report'
commit:
description: 'commit sha to update the status'
required: false
fail_on_test_failures:
description: 'fail run if there were test failures'
required: false
default: 'false'
fail_if_no_tests:
description: 'fail run if there were no test results found'
required: false
default: 'true'
skip_publishing:
description: 'skip test report publishing'
required: false
default: 'false'
outputs:
outcome:
description: 'the test outcome, either `success` or `failure`'
runs:
using: 'node12'
main: 'dist/index.js'