-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
26 lines (26 loc) · 1.11 KB
/
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
name: 'DeepSource Test Coverage Action'
description: 'GitHub Action that uploads test coverage reports to DeepSource for the Test Coverage analyzer.'
author: 'Sanket Saurav <[email protected]>'
inputs:
key:
description: 'Programming language shortcode for which coverage is reported. Allowed values are — python, go, javascript, ruby, java, kotlin, scala, php, csharp, cxx, rust, swift'
required: true
coverage-file:
description: 'Path to the coverage data file. e.g. ./coverage.xml'
required: true
dsn:
description: 'DeepSource DSN of this repository. It is available under Settings → Reporting tab of the repository page on DeepSource.'
required: true
fail-ci-on-error:
description: 'Should the CI build fail if there is an error while uploading the report to DeepSource? Allowed values are — true, false'
default: false
commit-sha:
description: 'HEAD commit for which the Test Coverage report is being sent'
required: false
default: ${{ github.event.pull_request.head.sha }}
branding:
color: 'green'
icon: 'umbrella'
runs:
using: 'docker'
image: 'Dockerfile'