-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaction.yml
More file actions
60 lines (56 loc) · 1.61 KB
/
Copy pathaction.yml
File metadata and controls
60 lines (56 loc) · 1.61 KB
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
name: 'Codelyze - Coverage'
description: 'Github action to generate and upload coverage reports'
author: 'codelyze'
branding:
icon: 'check-circle'
color: 'green'
inputs:
token:
description:
'Coverage upload token generated when project is created on codelyze.com'
required: true
gh-token:
description: 'GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)'
default: ${{ github.token }}
path:
description: 'Path to coverage file to use'
required: true
annotations:
description: 'Show uncovered lines annotations'
default: true
required: false
threshold:
description:
'The minimum coverage allowed. If coverage is lower than this, the action
will fail'
required: false
default: '0'
difference-threshold:
description:
'The minimum total difference allowed between the current commit and the
reference one'
default: '0'
patch-threshold:
description:
'the minimum value for patch coverage: the minimum ratio of new lines that
are not covered.'
default: '0'
skip-empty-patch:
description:
'if true, skip the commit status for a patch that has no coverable line
changes.'
default: 'false'
outputs:
coverage:
description:
"Object that contains `linesFound`, `linesCovered` and `rate` of the
commit's coverage"
difference:
description: "The coverage rate's difference between the commit and HEAD"
patch:
description:
"Object that contains `linesFound`, `linesCovered`, and `rate` of the
commit's patch coverage"
runs:
using: node24
main: dist/index.js