forked from romeovs/lcov-reporter-action
-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
45 lines (45 loc) · 1.4 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
43
44
45
name: Code Coverage Report
description: Comments a pull request with the code coverage
author: Romeo Van Snick
branding:
icon: check-square
color: green
inputs:
github-token:
description: Github token
required: true
default: ${{ github.token }}
lcov-file:
description: The location of the lcov.info file
required: false
lcov-base:
description: The location of the lcov file for the base branch
required: false
filter-changed-files:
description: Set to true to only comment with coverage on files changed in this commit
required: false
default: false
delete-old-comments:
description: Set to true to delete old Coverage Report comments
required: false
default: false
working-directory:
description: Set working directory if project is not in root folder
required: false
default: "./"
title:
description: Title to add to the comment
required: false
max-uncovered-lines:
description: Max number of uncovered lines to display in uncovered lines column (integer)
required: false
dont-post-if-no-changed-files-in-report:
description: Set to true to prevent posting when no files in the report have been changed
required: false
default: false
fail-drop-percent-threshold:
description: If included, will fail if coverage drops more than the given percentage
required: false
runs:
using: node20
main: dist/main.js