-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
38 lines (38 loc) · 1.29 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
27
28
29
30
31
32
33
34
35
36
37
38
name: 'Upload Coverage to Code Climate'
description: 'Uploads coverage info to Code Climate'
author: 'Caff'
branding:
icon: upload-cloud
color: red
inputs:
repository_root_path:
required: true
description: 'Absolute path to repository. Defaults to `.`.'
default: '.'
coverage_file_patterns:
required: true
description: 'One line per patterns to be looked for. Uses @actions/glob to parse them. End the pattern the `:<coverage-format-file>`. Defaults to `**/*.lcov:lcov`'
default: '**/*.lcov:lcov'
last_command_exit_code:
required: false
description: 'Exit code of the previous command, used only for after_build script.'
default: '0'
run_before_build:
required: false
description: 'Whether to run before_build script (`true`) or not.'
default: 'false'
collect_coverage:
required: false
description: 'Whether to run collect script (`true`) or not.'
default: 'false'
prefix:
required: false
description: 'Prefix to be uploaded to Code Climate. https://docs.codeclimate.com/docs/configuring-test-coverage#running-tests-within-a-subdirectory.'
default: ''
run_after_build:
required: false
description: 'Whether to run after_build script (`true`) or not.'
default: 'false'
runs:
using: 'node20'
main: 'dist/index.js'