-
Notifications
You must be signed in to change notification settings - Fork 60
/
action.yml
53 lines (51 loc) · 1.54 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
53
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'
create_check:
description: 'create a new check with annotations'
required: false
default: 'true'
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'
file_name_in_stack_trace:
description: 'get filename from stack trace'
required: false
default: 'false'
github_base_url:
description: 'if you use Github Enterprise, you can set this to the URL of your server (e.g. https://github.myorg.com/api/v3)'
required: false
default: ""
outputs:
outcome:
description: 'the test outcome, either `success` or `failure`'
runs:
using: 'node20'
main: 'dist/index.js'