generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
25 lines (25 loc) · 804 Bytes
/
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
name: 'Code coverage comments'
description: 'Comment code coverage from `lcov.info` or `clover.xml` file in commits or PRs'
branding:
icon: message-square
color: yellow
inputs:
github-token:
description: Github token
required: true
default: ${{ github.token }}
coverage-file:
description: 'Path to `lcov.info` or `clover.xml` file. It has to include the filename so we can determine how to parse the coverage result.'
required: true
default: './coverage/clover.xml'
working-directory:
description: Set working directory if project is not in root folder
required: false
default: './'
delete-old-comments:
description: 'Set to `true` to delete old coverage comments.'
required: false
default: true
runs:
using: 'node16'
main: 'dist/index.js'