-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
85 lines (85 loc) · 2.49 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
name: "allure-publish-action"
description: "Publish allure report to cloud provider"
author: "Andrejs"
branding:
icon: "book-open"
color: "yellow"
inputs:
storageType:
required: true
description: "Cloud storage type"
resultsGlob:
required: true
description: "Allure results files glob"
bucket:
required: true
description: "Bucket name"
prefix:
required: false
description: "Optional prefix for report path"
baseUrl:
required: false
description: "Custom report base url"
updatePr:
required: false
description: "Add result summary (pr or actions summary)"
default: "actions"
summary:
required: false
description: "Additionally add summary table of test results"
default: "total"
summaryTableType:
required: false
description: "Summary table type (ascii or markdown)"
default: "markdown"
collapseSummary:
required: false
description: "Create summary table as a collapsable section"
reportTitle:
required: false
description: "Custom report title"
copyLatest:
required: false
description: "Keep copy of latest report at base prefix path"
ignoreMissingResults:
required: false
description: "Ignore missing allure results"
flakyWarningStatus:
required: false
description: "Use '!' status emoji when flaky tests are present in report"
color:
required: false
description: "Force color output"
default: "true"
debug:
required: false
description: "Add debug log output"
default: "false"
parallel:
required: false
description: "Number of parallel threads to use for report file upload to cloud storage"
default: "8"
reportName:
required: false
description: "Custom report name"
default: "Test Report"
runs:
using: docker
image: Dockerfile
args:
- --results-glob=${{ inputs.resultsGlob }}
- --bucket=${{ inputs.bucket }}
- --prefix=${{ inputs.prefix }}
- --update-pr=${{ inputs.updatePr }}
- --summary=${{ inputs.summary }}
- --summary-table-type=${{ inputs.summaryTableType }}
- --collapse-summary=${{ inputs.collapseSummary }}
- --report-title=${{ inputs.reportTitle }}
- --copy-latest=${{ inputs.copyLatest }}
- --ignore-missing-results=${{ inputs.ignoreMissingResults }}
- --flaky-warning-status=${{ inputs.flakyWarningStatus }}
- --color=${{ inputs.color }}
- --base-url=${{ inputs.baseUrl }}
- --debug=${{ inputs.debug }}
- --parallel=${{ inputs.parallel }}
- ${{ inputs.storageType }}