forked from mi-kas/kover-report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
37 lines (33 loc) · 1.1 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
name: 'Kotlinx Kover Report'
description: 'Github action that publishes the Kover code coverage report as a comment in pull requests'
inputs:
path:
required: true
description: 'Path to the generated kover report xml file'
token:
required: true
description: 'Github personal token to add commits to the pull request'
title:
required: false
description: 'Title for the pull request comment'
update-comment:
required: false
default: 'false'
description: 'Update the coverage report comment instead of creating a new one. Requires title to be set.'
min-coverage-overall:
required: false
description: 'The minimum code coverage that is required to pass for overall project'
min-coverage-changed-files:
required: false
description: 'The minimum code coverage that is required to pass for changed files'
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: 'blue'