2019-08-06 18:02:35 -07:00
name : 'Codecov'
2019-08-07 17:04:13 -07:00
description : 'GitHub Action that uploads coverage reports for your repository to codecov.io'
2020-08-12 00:15:12 -07:00
author : 'Ibrahim Ali <@ibrahim0814> & Thomas Hu <@thomasrockhu> | Codecov'
2020-04-04 14:00:57 +01:00
inputs :
2019-08-05 21:19:25 -07:00
token :
2024-02-01 15:33:11 -08:00
description : 'Repository Codecov token. Used to authorize report uploads'
2020-04-04 14:00:57 +01:00
required : false
2024-02-01 09:05:17 -08:00
codecov_yml_path :
description : 'Specify the path to the Codecov YML'
2020-07-09 23:05:11 -04:00
required : false
2024-01-31 10:05:05 -08:00
commit_parent :
description : 'Override to specify the parent commit SHA'
required : false
2020-07-07 22:29:12 -04:00
directory :
description : 'Directory to search for coverage reports.'
required : false
2024-02-26 11:31:39 -08:00
disable_file_fixes :
description : 'Disable file fixes to ignore common lines from coverage (e.g. blank lines or empty brackets)'
required : false
2024-02-01 09:05:17 -08:00
disable_search :
description : 'Disable search for coverage files. This is helpful when specifying what files you want to upload with the --file option.'
required : false
2024-02-26 11:31:39 -08:00
disable_safe_directory :
description : 'Disable setting safe directory. Set to true to disable.'
2024-02-01 09:05:17 -08:00
required : false
2021-06-24 10:50:37 -04:00
dry_run :
description : "Don't upload files to Codecov"
required : false
2020-03-20 16:05:53 +00:00
env_vars :
2020-04-04 14:00:57 +01:00
description : 'Environment variables to tag the upload with (e.g. PYTHON | OS,PYTHON)'
2020-03-20 16:05:53 +00:00
required : false
2024-01-31 10:05:05 -08:00
exclude :
description : 'Folders to exclude from search'
required : false
2019-12-05 00:57:51 -08:00
fail_ci_if_error :
2019-12-05 21:42:20 -08:00
description : 'Specify whether or not CI build should fail if Codecov runs into an error during upload'
2019-12-05 00:57:51 -08:00
required : false
2024-02-01 09:05:17 -08:00
file :
description : 'Path to coverage file to upload'
required : false
files :
description : 'Comma-separated list of files to upload'
required : false
2024-01-31 10:05:05 -08:00
flags :
description : 'Flag upload to group coverage metrics (e.g. unittests | integration | ui,chrome)'
2022-04-04 16:14:50 -04:00
required : false
2024-02-26 11:31:39 -08:00
git_service :
description : 'Override the git_service (e.g. github_enterprise)'
required : false
2024-02-01 09:05:17 -08:00
handle_no_reports_found :
description : 'Raise no exceptions when no coverage reports found'
required : false
job_code :
description : 'The job code'
required : false
2021-01-05 17:31:02 -05:00
name :
description : 'User defined upload name. Visible in Codecov UI'
required : false
2024-04-09 10:53:53 -07:00
network_filter :
description : 'Specify 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'
required : false
network_prefix :
description : 'Specify a prefix on files listed in the network section of the Codecov report. Useful to help resolve path fixing'
required : false
2023-04-11 13:08:35 -07:00
os :
2023-09-13 08:58:26 -07:00
description : 'Override the assumed OS. Options are linux | macos | windows.'
2023-04-11 13:08:35 -07:00
required : false
2021-01-05 17:31:02 -05:00
override_branch :
description : 'Specify the branch name'
required : false
override_build :
description : 'Specify the build number'
required : false
2024-02-01 09:05:17 -08:00
override_build_url :
description : 'The URL of the build where this is running'
required : false
2021-01-05 17:31:02 -05:00
override_commit :
description : 'Specify the commit SHA'
required : false
override_pr :
description : 'Specify the pull request number'
required : false
2024-01-31 10:05:05 -08:00
plugin :
description: 'plugins to run. Options : xcode, gcov, pycoverage. The default behavior runs them all.'
required : false
2023-09-22 17:29:50 -05:00
plugins :
description : 'Comma-separated list of plugins for use during upload.'
required : false
2024-02-01 09:05:17 -08:00
report_code :
description : 'The code of the report. If unsure, do not include'
required : false
2021-01-05 17:31:02 -05:00
root_dir :
description : 'Used when not in git/hg project to identify project root directory'
required : false
2021-06-24 10:50:37 -04:00
slug :
description : 'Specify the slug manually (Enterprise use)'
required : false
2024-01-31 10:05:05 -08:00
url :
description : 'Specify the base url to upload (Enterprise use)'
required : false
2024-02-01 09:05:17 -08:00
use_legacy_upload_endpoint :
description : 'Use the legacy upload endpoint'
required : false
2024-04-03 15:41:48 -07:00
use_oidc :
description : 'Use OIDC instead of token. This will ignore any token supplied'
2024-04-03 15:47:35 -07:00
required : false
2020-10-16 18:27:17 -04:00
verbose :
description : 'Specify whether the Codecov output should be verbose'
required : false
2021-09-09 13:15:02 -04:00
version :
2023-09-13 08:58:26 -07:00
description : 'Specify which version of the Codecov CLI should be used. Defaults to `latest`'
2021-09-09 13:15:02 -04:00
required : false
2023-05-03 12:12:56 -04:00
working-directory :
description : 'Directory in which to execute codecov.sh'
required : false
2019-08-03 07:11:50 -07:00
branding :
2020-04-04 14:00:57 +01:00
color : 'red'
2019-08-03 07:11:50 -07:00
icon : 'umbrella'
2019-08-05 21:19:25 -07:00
runs :
2024-01-30 08:31:31 -08:00
using : 'node20'
2019-11-19 04:05:04 -08:00
main : 'dist/index.js'