Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Commit ca7114d

Browse files
committed
v1.0.0
1 parent 9f2085c commit ca7114d

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

.dockerignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# ignore all files by default
2+
*
3+
# include required files with an exception
4+
!entrypoint.sh
5+
!LICENSE
6+
!README.md

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
coverage

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ A Github Action which helps enforce a minimum code coverage threshold.
66

77
### `path`
88

9-
**Required** The path to the `lcov.info` file.
9+
**Optional** The path to the `lcov.info` file.
10+
11+
**Default** `./coverage/lcov.info`
1012

1113
### `min_coverage`
1214

13-
**Required** The minimum coverage percentage allowed.
15+
**Optional** The minimum coverage percentage allowed.
1416

1517
**Default** 100
1618

action.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ branding:
77
inputs:
88
path:
99
description: 'lcov path'
10-
required: true
10+
required: false
11+
default: './coverage/lcov.info'
1112
min_coverage:
1213
description: 'minimum coverage percentage allowed'
13-
required: true
14+
required: false
1415
default: 100
1516
exclude:
1617
description: 'paths to exclude from coverage'

0 commit comments

Comments
 (0)