File tree Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -4,30 +4,42 @@ description: go-test-coverage is tool which reports issues when test coverage of
4
4
inputs :
5
5
config :
6
6
description : Path of configuration file.
7
+ required : false
8
+ type : string
7
9
profile :
8
10
description : Path of coverage profile file.
11
+ required : false
12
+ type : string
9
13
local-prefix :
10
14
description : When specified reported file paths will not contain local prefix in the output.
15
+ required : false
16
+ type : string
11
17
threshold-file :
12
18
description : The minimum coverage that each file should have.
19
+ required : false
20
+ type : number
13
21
threshold-package :
14
22
description : The minimum coverage that each package should have.
23
+ required : false
24
+ type : number
15
25
threshold-total :
16
26
description : The minimum total coverage project should have.
27
+ required : false
28
+ type : number
17
29
outputs :
18
30
total_coverage :
19
31
description : Holds total coverage value.
20
32
runs :
21
33
using : docker
22
34
image : docker://ghcr.io/vladopajic/go-test-coverage:v2.0.1
23
35
args :
24
- - -config=${{ inputs.config || "" }}
25
- - -profile=${{ inputs.profile || "" }}
36
+ - -config=${{ inputs.config }}
37
+ - -profile=${{ inputs.profile }}
26
38
- -github-action-output=true
27
- - -local-prefix=${{ inputs.local-prefix || "" }}
28
- - -threshold-file=${{ inputs.threshold-file || "" }}
29
- - -threshold-package=${{ inputs.threshold-package || "" }}
30
- - -threshold-total=${{ inputs.threshold-total || "" }}
39
+ - -local-prefix=${{ inputs.local-prefix }}
40
+ - -threshold-file=${{ inputs.threshold-file }}
41
+ - -threshold-package=${{ inputs.threshold-package }}
42
+ - -threshold-total=${{ inputs.threshold-total }}
31
43
branding :
32
44
icon : ' code'
33
45
color : ' blue'
You can’t perform that action at this time.
0 commit comments