forked from barecheck/code-coverage-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
56 lines (55 loc) · 1.81 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
name: "Barecheck - Code Coverage"
description: "GitHub Action generates code coverage reports"
branding:
icon: "check-circle"
color: "yellow"
inputs:
github-token:
description: Your GitHub Action token
required: false
default: ""
barecheck-github-app-token:
description: Barecheck application token, received after application installation. Would be used instead of `github-token`
required: false
barecheck-api-key:
description: Barecheck project API key
required: false
lcov-file:
description: "Compare code coverage report"
required: true
default: "./coverage/lcov.info"
base-lcov-file:
description: "Base code coverage report to generate percentage diff"
required: false
default: ""
minimum-ratio:
description: "Minimum code coverage ratio that would to be considered as a difference between based and head commits"
required: false
send-summary-comment:
description: "Send Github Pull request comment with code coverage summary"
default: ""
required: false
show-annotations:
description: "Shows annotations with uncovered lines in the review. Options: warning|error"
default: "warning"
required: false
app-name:
description: "Application name should be used once you have more then one report in your workflow."
default: ""
required: false
workspace-path:
description: "Path to your application. Mostly used for Monorepos if you need to add prefix for all files"
default: ""
required: false
pull-number:
description: "Pull request number (Optional). For use in non-'pull_request' events"
default: ""
required: false
outputs:
percentage:
description: "Total Percentage coverage"
diff:
description: "Percantage difference between head branch"
runs:
using: "node20"
main: "dist/index.js"