forked from zgosalvez/github-actions-report-lcov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
24 lines (23 loc) · 1.08 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
name: 'Record LCOV'
description: 'Record the code coverage from LCOV files'
author: 'Zennon Gosalvez'
inputs:
coverage-files:
description: 'The coverage files to scan. For example, `coverage/lcov.*.info`'
required: true
artifact-name:
description: 'The GitHub artifact name of the generated HTML report. For example, `code-coverage-report`. _Note:_ When downloading, it will be extracted in an `html` directory. Optional. Default: `` (Skips uploading of artifacts)'
minimum-coverage:
description: 'The minimum coverage to pass the check. Optional. Default: `0` (always passes)'
default: 0
github-token:
description: 'Set the GitHub token to have the action comment the coverage summary in the pull request. This token is provided by Actions, you do not need to create your own token. Optional. Default: ``'
working-directory:
description: 'The working directory containing the source files referenced in the LCOV files. Optional. Default: `./`'
runs:
using: 'node12'
main: 'dist/main/index.js'
post: 'dist/post/index.js'
branding:
icon: umbrella
color: purple