-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
29 lines (29 loc) · 1.18 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
name: Code Coverage Report with S3 Backend
description: Comments a pull request with the code coverage for mono repo and single repo and stores lcov files inside a s3 repository
author: 'Simon Tretter, based on work of Eesh Tyagi, Marina and John Hannagan'
branding:
icon: check-square
color: green
inputs:
github-token:
description: Github token
required: true
monorepo-base-path:
description: Location of your monorepo `packages` parent folder.
required: true
s3-config:
description: 's3 config for lcov file storage, json encoded { credentials: { accessKeyId: "", secretAccessKey: "", }, region: "", Bucket: "repository-code-coverage" }'
required: false
threshold:
description: 'minimum threshold (in %) before the action fails, default is 0.05%'
required: false
mode:
description: 'overwrite mode manually: collect (upload tmp files) | report (generate report) | merge (on merge)'
required: false
fail-on-threshold:
description: 'whether the action should fail if threshold is reached'
required: false
default: true
runs:
using: node16
main: dist/index.js