-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
28 lines (28 loc) · 982 Bytes
/
action.yml
File metadata and controls
28 lines (28 loc) · 982 Bytes
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
name: 'Code coverage'
description: 'Update or check your code coverage'
inputs:
token:
description: 'The github token'
required: true
directory:
description: 'Directory to find coverage files with Clover XML format'
required: false
files:
description: 'A JSON array of objects representing the coverage files to process, and the summaries to push on the coverage branch'
required: false
default: '[{"coverage": "coverage.xml", "summary": "coverage-summary.json", "label": "Coverage", "badge": "coverage.svg"}]'
action:
description: 'Do we want to update the base coverage, or to check it has not been degraded?'
required: true
default: 'update'
coverage-branch:
description: 'Branch to store coverage history'
required: false
default: 'coverage'
with-average:
description: 'Whether we want to calculate the average coverage'
required: false
default: 'false'
runs:
using: 'node16'
main: 'dist/index.js'