-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yaml
80 lines (77 loc) · 2.93 KB
/
action.yaml
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
name: "Allure Deployer Action"
description: "Deploy Allure reports with History, Retries, Aggregation and Slack integration"
author: "Sokari Gillis-Harry"
branding:
icon: bar-chart
color: green
runs:
using: 'node20'
main: "dist/index.js"
post: "dist/utilities/cleanup.js"
inputs:
google_credentials_json:
description: "Firebase (Google Cloud) credentials when 'target' is 'firebase'"
required: false
gcs_bucket:
description: "Firebase (Google Cloud) storage bucket to backup Allure History and Retries when 'target' is 'firebase'"
required: false
prefix:
description: "Prefix to uniquely identify test report artifacts when managing multiple projects. "
required: false
gcs_bucket_prefix:
description: "Prefix to uniquely identify test report artifacts when managing multiple projects."
required: false
deprecationMessage: "Use 'prefix' instead. "
gh_artifact_prefix:
description: "Prefix to uniquely identify test report artifacts when managing multiple projects."
required: false
deprecationMessage: "Use 'prefix' instead. "
report_name:
description: "Title of your report"
required: false
target:
description: "Deployment target: firebase or github"
required: true
slack_channel:
description: "Slack channel ID for notifications (optional)"
required: false
slack_token:
description: "Slack Token"
required: false
allure_results_path:
description: "A path/to/results or comma separate paths (path/to/results1,path/to/results2) of Allure results."
required: true
retries:
description: "Number of previous test runs to show as retries in new test report (Default 0)"
default: '0'
show_history:
description: "Show history in the test report (true/false)"
default: "true"
pr_comment:
description: "Post test report information as pull request comment. Requires `github_token` to be set with permission "
default: "true"
report_dir:
description: "A custom directory to generate Allure report into."
required: false
deprecationMessage: "Use 'custom_report_dir' instead. "
custom_report_dir:
description: "A custom directory to generate Allure report into."
required: false
github_token:
description: "Auto-generated GITHUB_TOKEN or Personal Access Token for deploying report to GitHub pages and posting report info on pr_comment"
default: '${{ github.token }}'
github_pages_branch:
description: "Target branch for Deploying to GitHub Pages. Default: gh-pages"
default: 'gh-pages'
language:
description: "Allure report language"
default: 'en'
github_pages_repo:
description: "Another GitHub owner/repo to deploy GitHub pages. Ensure that 'github_token' provided has permissions to the repository"
default: '${{ github.repository }}'
keep:
description: "Number of test reports you want to keep alive"
default: '10'
outputs:
report_url:
description: "URL to your test report"