forked from jgillick/test-coverage-reporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
29 lines (28 loc) · 943 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
26
27
28
29
name: Test Coverage Reporter
description: Generate a coverage report based on a base/master coverage report"
branding:
icon: git-pull-request
color: purple
inputs:
coverage-file:
required: true
description: Path to the coverage report
base-coverage-file:
required: true
description: Path to the coverage report from the branch this will be merging into
access-token:
description: Required to comment on the PR
default: ${{ github.token }}
fail-file-reduced:
description: If coverage for any file is reduced by this much (in percent) the run will fail. Defaults to 0.5%, set to 0 to disable.
default: 0.5
custom-message:
description: Add custom text to the output.
title:
description: The coverage report title
default: Coverage Report
strip-path-prefix:
description: Remove this part of the path of the front of all file paths.
runs:
using: "node16"
main: "dist/index.js"