-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
54 lines (54 loc) · 1.65 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
name: 'Clover to ShieldsIO endpoint JSON'
description: 'Generates a ShieldsIO endpoint compatible JSON file containing the code coverage from a clover.xml'
author: 'Steffen Dietz'
inputs:
path-to-clover:
description: 'Relative path from repository root to clover.xml'
required: true
default: 'clover.xml'
path-to-json:
description: 'Relative path from repository root where ShieldsIO endpoint JSON is created'
required: true
default: 'shieldsio.json'
label-text:
description: 'The left text of the badge; leave empty to omit left side'
required: false
default: 'coverage'
style:
description: 'The badge style'
required: false
default: 'flat'
bad-threshold:
description: 'Below this coverage percent, the color will be bad-color'
required: false
default: '50'
average-threshold:
description: 'Below this coverage percent, the color will be average-color'
required: false
default: '75'
above-average-threshold:
description: 'Below this coverage percent, the color will be above-average-color'
required: false
default: '95'
bad-color:
description: 'The color used for bad code coverage'
required: false
default: 'red'
average-color:
description: 'The color used for average code coverage'
required: false
default: 'yellow'
above-average-color:
description: 'The color used for above average code coverage'
required: false
default: 'green'
good-color:
description: 'The color used for good code coverage'
required: false
default: 'brightgreen'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'umbrella'
color: 'green'