forked from Madrapps/jacoco-report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
42 lines (39 loc) · 1.26 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
name: "JaCoCo Report"
description: "Publishes the JaCoCo report as a comment in the Pull Request"
inputs:
paths:
description: "Comma separated paths of the generated jacoco xml files"
required: true
token:
description: "Github personal token to add commits to Pull Request"
required: true
min-coverage-overall:
description: "The minimum code coverage that is required to pass for overall project"
required: false
default: "80"
min-coverage-changed-files:
description: "The minimum code coverage that is required to pass for changed files"
required: false
default: "80"
title:
description: "Optional title for the Pull Request comment"
required: false
update-comment:
description: "Update the coverage report comment instead of creating new ones. Requires title to works properly."
required: false
default: "false"
debug-mode:
description: "Run the action in debug mode and get debug logs printed in console"
required: false
default: "false"
outputs:
coverage-overall:
description: "The overall coverage of the project"
coverage-changed-files:
description: "The total coverage of all changed files"
runs:
using: "node16"
main: "dist/index.js"
branding:
icon: "percent"
color: "green"