-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
29 lines (29 loc) · 875 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
name: "CodeClimate Code Coverage Test Reporter"
author: XYLabs
description: "GitHub action for publishing code coverage results to CodeClimate"
branding:
icon: 'code'
color: 'blue'
inputs:
subcommand:
description: "The cc-test-report subcommand (with flags/arguments) to execute"
required: true
default: "help"
# TODO: Limit choices to known subcommands and pass args separately
# https://github.blog/changelog/2021-11-10-github-actions-input-types-for-manual-workflows/
# https://docs.codeclimate.com/docs/configuring-test-coverage#list-of-subcommands
# type: choice
# options:
# - after-build
# - before-build
# - env
# - format-coverage
# - help
# - show-coverage
# - sum-coverage
# - upload-coverage
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.subcommand }}