-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
39 lines (39 loc) · 1.09 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
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
exit-if-coverage-decrease:
description: Set to true to fail the action when coverage decreased
required: false
default: false
title:
description: Title to add to the comment
required: false
lcov-decrease-threshold:
description: The threshold allowance for code coverage decrease
required: false
default: 0
runs:
using: 'node16'
main: dist/main.js