-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathaction.yaml
More file actions
37 lines (34 loc) · 1.04 KB
/
action.yaml
File metadata and controls
37 lines (34 loc) · 1.04 KB
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
name: '.Net Code Coverage Badge'
description: 'Extact code coverage percentage from an opencover report and generates metadata for a shields.io badge'
branding:
icon: 'award'
color: 'yellow'
inputs:
label:
description: 'The badge label. For example "Unit Test Coverage"'
required: false
default: 'Test Coverage'
color:
description: 'The color of the badge. See https://shields.io/ for options'
required: false
default: 'brightgreen'
path:
description: 'the path to the opencover.xml file'
required: true
gist-filename:
description: 'Filename of the Gist used for storing the badge data'
required: false
gist-id:
description: 'ID if the Gist used for storing the badge data'
required: false
gist-auth-token:
description: 'Auth token that alows to write to the given Gist'
required: false
outputs:
percentage:
description: 'The code coverage percentage'
badge:
description: 'The badge data as in json format as required by shields.io'
runs:
using: 'node12'
main: 'index.js'