step-security/Codecov

GitHub Action that uploads coverage reports for your repository to codecov.io

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
base_shaThe base SHA to select. This is only used in the "pr-base-picking" run commandno
binaryThe file location of a pre-downloaded version of the CLI. If specified, integrity checking will be bypassed.no
codecov_yml_pathThe location of the codecov.yml file. This is crrently 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-codecovymlno
commit_parentSHA (with 40 chars) of what should be the parent of this commit.no
directoryFolder to search for coverage files. Default to the current working directoryno
disable_file_fixesDisable file fixes to ignore common lines from coverage (e.g. blank lines or empty brackets). Read more here https://docs.codecov.com/docs/fixing-reportsnofalse
disable_searchDisable search for coverage files. This is helpful when specifying what files you want to upload with the files option.nofalse
disable_safe_directoryDisable setting safe directory. Set to true to disable.nofalse
disable_telemDisable sending telemetry data to Codecov. Set to true to disable.nofalse
dry_runDon't upload files to Codecovnofalse
env_varsEnvironment variables to tag the upload with (e.g. PYTHON | OS,PYTHON)no
excludeComma-separated list of folders to exclude from search.no
fail_ci_if_errorOn error, exit with non-zero codenofalse
filesComma-separated list of explicit 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.no
flagsComma-separated list of flags to upload to group coverage metrics.no
forceOnly used for empty-upload run commandno
git_serviceOverride the git_service (e.g. github_enterprise)nogithub
gcov_argsExtra arguments to pass to gcovno
gcov_executablegcov executable to run. Defaults to 'gcov'nogcov
gcov_ignorePaths to ignore during gcov gatheringno
gcov_includePaths to include during gcov gatheringno
handle_no_reports_foundIf no coverage reports are found, do not raise an exception.nofalse
job_codeno
nameCustom defined name of the upload. Visible in the Codecov UIno
network_filterSpecify a filter on the files listed in the network section of the Codecov report. This will only add files whose path begin with the specified filter. Useful for upload-specific path fixing.no
network_prefixSpecify a prefix on files listed in the network section of the Codecov report. Useful to help resolve path fixing.no
osOverride the assumed OS. Options available at cli.codecov.iono
override_branchSpecify the branch to be displayed with this commit on Codecovno
override_buildSpecify the build number manuallyno
override_build_urlThe URL of the build where this is runningno
override_commitCommit SHA (with 40 chars)no
override_prSpecify the pull request number manually. Used to override pre-existing CI environment variables.no
pluginsComma-separated list of plugins to run. Specify `noop` to turn off all pluginsno
recurse_submodulesWhether to enumerate files inside of submodules for path-fixing purposes. Off by default.false
report_codeThe 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-uploadno
report_typeThe type of file to upload, coverage by default. Possible values are "test_results", "coverage".no
root_dirRoot folder from which to consider paths on the network section. Defaults to current working directory.no
run_commandChoose which CLI command to run. Options are "upload-coverage", "empty-upload", "pr-base-picking", "send-notifications". "upload-coverage" is run by default.noupload-coverage
skip_validationSkip integrity checking of the CLI. This is NOT recommended.nofalse
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.no
swift_projectSpecify the swift project name. Useful for optimization.no
tokenRepository Codecov token. Used to authorize report uploadsno
urlSet to the Codecov instance URl. Used by Dedicated Enterprise Cloud customers.no
use_legacy_upload_endpointUse the legacy upload endpoint.nofalse
use_oidcUse OIDC instead of token. This will ignore any token suppliednofalse
use_pypiUse the pypi version of the CLI instead of from cli.codecov.ionofalse
verboseEnable verbose loggingnofalse
versionWhich version of the Codecov CLI to use (defaults to 'latest')nolatest
working-directoryDirectory in which to execute codecov.shno

no outputs