generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 32
/
action.yml
31 lines (31 loc) · 907 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
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
sourceDir:
required: false
description: the directory to use as the source of the coverage report
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'umbrella'
color: 'purple'