generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 12
/
action.yml
41 lines (37 loc) · 1.28 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
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: false
description: 'Github personal token to add commits to the pull request'
default: ${{ github.token }}
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'
coverage-counter-type:
required: false
description: 'Report counter type (`INSTRUCTION``, `LINE` or `BRANCH`) to calculate coverage metrics.'
outputs:
coverage-overall:
description: 'The overall coverage of the project'
coverage-changed-files:
description: 'The total coverage of all changed files'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'percent'
color: 'blue'