-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathaction.yml
57 lines (57 loc) · 1.84 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
name: 'Allure Report with history per branch'
description: 'Generate Allure Report with history per branch'
author: 'mgrybyk'
branding:
icon: 'monitor'
color: 'gray-dark'
inputs:
report_dir:
description: 'Input allure results dir, default "allure-results"'
required: true
default: 'allure-results'
report_id:
description: 'Output allure report dir, default "allure-report"'
required: true
default: 'allure-report'
gh_pages:
description: 'Folder with gh-pages branch'
required: true
default: 'gh-pages'
list_dirs:
description: 'Write index.html to the Github Action folders. Might cause concurrency issues!'
required: false
default: false
list_dirs_branch:
description: 'Write index.html to the report branch folder. Might cause concurrency issues!'
required: false
default: true
branch_cleanup_enabled:
description: 'Cleanup reports from deleted branches. Might cause concurrency issues!'
required: false
default: false
max_reports:
description: 'Max reports to keep per branch/report. Set to 0 to disable cleanup.'
required: false
default: 100
outputs:
report_url:
description: 'Published Allure Report url'
report_history_url:
description: 'Published Allure History list url'
test_result:
description: 'test result: PASS | FAIL | UNKNOWN'
test_result_icon:
description: 'test result icon: ✅ | ❌ | ❔'
test_result_passed:
description: 'Number of passed tests'
test_result_failed:
description: 'Number of failed tests'
test_result_total:
description: 'Number of tests in total'
run_unique_id:
description: 'Name of the folder containing the generated Allure Report'
report_path:
description: 'Path to the folder containing the generated Allure Report relative to the repo root'
runs:
using: 'docker'
image: 'Dockerfile'