You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -108,19 +108,22 @@ Codecov's Action supports inputs from the user. These inputs, along with their d
108
108
109
109
| Input | Description | Required |
110
110
| :--- | :--- | :---: |
111
+
| `base_sha` | 'The base SHA to select. This is only used in the "pr-base-picking" run command' | Optional
111
112
| `binary` | The file location of a pre-downloaded version of the CLI. If specified, integrity checking will be bypassed. | Optional
112
113
| `codecov_yml_path` | The location of the codecov.yml file. This is currently ONLY used for automated test selection (https://docs.codecov.com/docs/getting-started-with-ats). Note that for all other cases, the Codecov yaml will need to be located as described here: https://docs.codecov.com/docs/codecov-yaml#can-i-name-the-file-codecovyml | Optional
113
114
| `commit_parent` | SHA (with 40 chars) of what should be the parent of this commit. | Optional
114
115
| `directory` | Folder to search for coverage files. Default to the current working directory | Optional
115
116
| `disable_file_fixes` | Disable file fixes to ignore common lines from coverage (e.g. blank lines or empty brackets). Read more here https://docs.codecov.com/docs/fixing-reports | Optional
116
117
| `disable_search` | Disable search for coverage files. This is helpful when specifying what files you want to upload with the files option. | Optional
117
118
| `disable_safe_directory` | Disable setting safe directory. Set to true to disable. | Optional
119
+
| `disable_telem` | Disable sending telemetry data to Codecov. Set to true to disable. | Optional
118
120
| `dry_run` | Don't upload files to Codecov | Optional
119
121
| `env_vars` | Environment variables to tag the upload with (e.g. PYTHON \| OS,PYTHON) | Optional
120
122
| `exclude` | Comma-separated list of folders to exclude from search. | Optional
121
123
| `fail_ci_if_error` | On error, exit with non-zero code | Optional
122
124
| `files` | Comma-separated explicit list of files to upload. These will be added to the coverage files found for upload. If you wish to only upload the specified files, please consider using "disable-search" to disable uploading other files. | Optional
123
125
| `flags` | Comma-separated list of flags to upload to group coverage metrics. | Optional
126
+
| `force` | Only used for empty-upload run command | Optional
124
127
| `git_service` | Override the git_service (e.g. github_enterprise) | Optional
125
128
| `gcov_args` | Extra arguments to pass to gcov | Optional
126
129
| `gcov_executable` | gcov executable to run. Defaults to 'gcov' | Optional
@@ -141,13 +144,15 @@ Codecov's Action supports inputs from the user. These inputs, along with their d
141
144
| `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
142
145
| `report_type` | The type of file to upload, coverage by default. Possible values are "testing", "coverage". | Optional
143
146
| `root_dir` | Root folder from which to consider paths on the network section. Defaults to current working directory. | Optional
147
+
| `run_command` | Choose which CLI command to run. Options are "upload-coverage", "empty-upload", "pr-base-picking", "send-notifications". "upload-coverage" is run by default.' | Optional
144
148
| `skip_validation` | Skip integrity checking of the CLI. This is NOT recommended. | Optional
145
149
| `slug` | [Required when using the org token] Set to the owner/repo slug used instead of the private repo token. Only applicable to some Enterprise users. | Optional
146
150
| `swift_project` | Specify the swift project name. Useful for optimization. | Optional
147
151
| `token` | Repository Codecov token. Used to authorize report uploads | Optional
148
152
| `url` | Set to the Codecov instance URl. Used by Dedicated Enterprise Cloud customers. | Optional
149
153
| `use_legacy_upload_endpoint` | Use the legacy upload endpoint. | Optional
150
154
| `use_oidc` | Use OIDC instead of token. This will ignore any token supplied | Optional
155
+
| `use_pypi` | Use the pypi version of the CLI instead of from cli.codecov.io | Optional
151
156
| `verbose` | Enable verbose logging | Optional
152
157
| `version` | Which version of the Codecov CLI to use (defaults to 'latest') | Optional
153
158
| `working-directory` | Directory in which to execute codecov.sh | Optional
0 commit comments