forked from orgoro/coverage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
28 lines (28 loc) · 799 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
name: 'Python Coverage'
description: 'Publish coverage report to a PR & enforce coverage on new & modified files'
author: 'orgoro'
inputs:
coverageFile:
required: true
description: 'local path to a coverage xml file like the output of pytest --cov'
token:
required: true
description: 'github token'
thresholdAll:
required: false
description: the coverage threshold for average over all files [0,1]
default: 0.0
thresholdNew:
required: false
description: the coverage threshold for average over new files [0,1]
default: 0.0
thresholdModified:
required: false
description: the coverage threshold for average over new files [0,1]
default: 0.0
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'umbrella'
color: 'purple'