Skip to content

Commit c545d7b

Browse files
authored
update wrapper submodule to 0.2.0, add recurse_submodules arg (#1780)
1 parent 2488e99 commit c545d7b

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ Codecov's Action supports inputs from the user. These inputs, along with their d
141141
| `override_commit` | Commit SHA (with 40 chars) | Optional
142142
| `override_pr` | Specify the pull request number manually. Used to override pre-existing CI environment variables. | Optional
143143
| `plugins` | Comma-separated list of plugins to run. Specify `noop` to turn off all plugins | Optional
144+
| `recurse_submodules` | Whether to enumerate files inside of submodules for path-fixing purposes. Off by default. | Optional
144145
| `report_code` | The code of the report if using local upload. If unsure, leave unset. Read more here https://docs.codecov.com/docs/the-codecov-cli#how-to-use-local-upload | Optional
145146
| `report_type` | The type of file to upload, coverage by default. Possible values are "test_results", "coverage". | Optional
146147
| `root_dir` | Root folder from which to consider paths on the network section. Defaults to current working directory. | Optional

Diff for: action.yml

+4
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ inputs:
112112
plugins:
113113
description: 'Comma-separated list of plugins to run. Specify `noop` to turn off all plugins'
114114
required: false
115+
recurse_submodules:
116+
description: 'Whether to enumerate files inside of submodules for path-fixing purposes. Off by default.'
117+
default: 'false'
115118
report_code:
116119
description: 'The code of the report if using local upload. If unsure, leave default. Read more here https://docs.codecov.com/docs/the-codecov-cli#how-to-use-local-upload'
117120
required: false
@@ -300,6 +303,7 @@ runs:
300303
CC_OS: ${{ inputs.os }}
301304
CC_PARENT_SHA: ${{ inputs.commit_parent }}
302305
CC_PLUGINS: ${{ inputs.plugins }}
306+
CC_RECURSE_SUBMODULES: ${{ inputs.recurse_submodules }}
303307
CC_REPORT_TYPE: ${{ inputs.report_type }}
304308
CC_RUN_CMD: ${{ inputs.run_command }}
305309
CC_SERVICE: ${{ inputs.git_service }}

0 commit comments

Comments
 (0)