forked from mikepenz/action-junit-report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
91 lines (91 loc) · 2.8 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
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: false
default: ${{ github.token }}
github_token:
description: 'Deprecated syntax to specify github token.'
required: true
report_paths:
description: 'Xml report paths in glob format'
required: false
default: '**/junit-reports/TEST-*.xml'
test_files_prefix:
description: 'Prefix to add to test file paths from report files when annotating'
required: false
default: ''
exclude_sources:
description: 'Comma seperated list of source folders to ignore for lookup'
required: false
default: '/build/,/__pycache__/'
suite_regex:
description: 'Regular expression for the named test suites'
required: false
default: ''
annotate_only:
description: 'Enable to only annotate the results on the files, will not create a check run.'
required: false
default: 'false'
update_check:
description: 'Defines if the active check should be updated instead'
required: false
default: 'false'
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'
include_passed:
description: 'Include passed tests in the report'
required: false
default: 'false'
check_title_template:
description: |-
Template to configure the title format. Placeholders: {{FILE_NAME}}, {{SUITE_NAME}}, {{TEST_NAME}}.
required: false
summary:
description: 'Additional text to summary output'
required: false
default: ''
check_retries:
description: 'If a testcase is retried, ignore the original failure.'
required: false
default: 'false'
transformers:
description: 'Provide a regex pattern and target pattern'
required: false
default: '[]'
job_summary:
description: 'Enables the publishing of a JOB_SUMMARY with the report.'
required: false
default: true
detailed_summary:
description: 'Include table with all test results in summary'
required: false
default: false
annotate_notice:
description: 'Annotate passed tests along with warning and failed ones'
required: false
default: false
follow_symlink:
description: 'Enables the file globber to follow symlinks. Default: false'
required: false
default: false
runs:
using: 'node16'
main: 'dist/index.js'