-
-
Notifications
You must be signed in to change notification settings - Fork 51
/
action.yml
33 lines (33 loc) · 970 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
30
31
32
33
name: 'Code Coverage Summary'
author: 'Irongut <murray.dave@outlook.com>'
description: 'A GitHub Action that reads Cobertura format code coverage files and outputs a text or markdown summary.'
branding:
icon: book-open
color: purple
inputs:
filename:
description: 'Code coverage file to analyse.'
required: true
badge:
description: 'Include a badge in the output - true / false (default).'
required: false
default: 'false'
format:
description: 'Output Format - markdown or text (default).'
required: false
default: 'text'
output:
description: 'Output Type - console (default), file or both.'
required: false
default: 'console'
runs:
using: 'docker'
image: 'docker://ghcr.io/irongut/codecoveragesummary:v1.0.2'
args:
- ${{ inputs.filename }}
- '--badge'
- ${{ inputs.badge }}
- '--format'
- ${{ inputs.format }}
- '--output'
- ${{ inputs.output }}