forked from romeovs/lcov-reporter-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
43 lines (43 loc) · 1.24 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
name: Code Coverage Report
description: Comments a pull request with the code coverage
author: Lukas Stauersbøl
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"
update-comment:
description: Set to true to update the last Coverage Report comment
required: false
default: "true"
working-directory:
description: Set working directory if project is not in root folder
required: false
default: "./"
fail-drop-percent-threshold:
description: Fail the build if the coverage drops below this threshold in %
required: false
default: "0.5"
title:
description: Title to add to the comment
required: false
runs:
using: node20
main: dist/main.js