From c545d7bd451c5545ff63f9fda37b34bde3259a5d Mon Sep 17 00:00:00 2001 From: matt-codecov <137832199+matt-codecov@users.noreply.github.com> Date: Wed, 26 Feb 2025 15:27:14 -0800 Subject: [PATCH] update wrapper submodule to 0.2.0, add recurse_submodules arg (#1780) --- README.md | 1 + action.yml | 4 ++++ src/scripts | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9884674..79008bf 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,7 @@ Codecov's Action supports inputs from the user. These inputs, along with their d | `override_commit` | Commit SHA (with 40 chars) | Optional | `override_pr` | Specify the pull request number manually. Used to override pre-existing CI environment variables. | Optional | `plugins` | Comma-separated list of plugins to run. Specify `noop` to turn off all plugins | Optional +| `recurse_submodules` | Whether to enumerate files inside of submodules for path-fixing purposes. Off by default. | Optional | `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 | `report_type` | The type of file to upload, coverage by default. Possible values are "test_results", "coverage". | Optional | `root_dir` | Root folder from which to consider paths on the network section. Defaults to current working directory. | Optional diff --git a/action.yml b/action.yml index 3605b3a..aa709a1 100644 --- a/action.yml +++ b/action.yml @@ -112,6 +112,9 @@ inputs: plugins: description: 'Comma-separated list of plugins to run. Specify `noop` to turn off all plugins' required: false + recurse_submodules: + description: 'Whether to enumerate files inside of submodules for path-fixing purposes. Off by default.' + default: 'false' report_code: 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' required: false @@ -300,6 +303,7 @@ runs: CC_OS: ${{ inputs.os }} CC_PARENT_SHA: ${{ inputs.commit_parent }} CC_PLUGINS: ${{ inputs.plugins }} + CC_RECURSE_SUBMODULES: ${{ inputs.recurse_submodules }} CC_REPORT_TYPE: ${{ inputs.report_type }} CC_RUN_CMD: ${{ inputs.run_command }} CC_SERVICE: ${{ inputs.git_service }} diff --git a/src/scripts b/src/scripts index ad7c646..96f8531 160000 --- a/src/scripts +++ b/src/scripts @@ -1 +1 @@ -Subproject commit ad7c6465b6a6a1bc64d0be39ff1312b8ac76c6ea +Subproject commit 96f8531c88a811b53ea0b4ea7bbd691400d369c9