forked from slavcodev/coverage-monitor-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
43 lines (43 loc) · 1.26 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: 'Coverage monitor'
description: 'A GitHub Action that monitor coverage.'
branding:
icon: "check"
color: "green"
inputs:
github_token:
description: "The GITHUB_TOKEN secret."
required: true
clover_file:
description: "Path to Clover XML file."
required: true
check:
description: "Whether check the coverage thresholds."
required: false
default: 'true'
comment:
description: "Whether comment the coverage report."
required: false
default: 'true'
threshold_alert:
description: "Mark the build as unstable when coverage is less than this threshold."
required: false
default: '50'
threshold_warning:
description: "Warning when coverage is less than this threshold."
required: false
default: '90'
status_context:
description: "A string label to differentiate this status from the status of other systems."
required: false
default: 'Coverage Report'
comment_context:
description: "A string label to differentiate the comment posted by this action."
required: false
default: 'Coverage Report'
comment_mode:
description: "A mode for comments, supported: `replace`, `update` or `insert`."
required: false
default: 'replace'
runs:
using: 'node12'
main: 'dist/index.js'