Files
codecov-action/action.yml
T

122 lines
4.4 KiB
YAML
Raw Normal View History

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:
2020-03-04 18:30:14 -08:00
description: 'Repository upload token - get it from codecov.io. Required only for private repositories'
2020-04-04 14:00:57 +01:00
required: false
2023-04-11 13:08:35 -07:00
file:
description: 'Path to coverage file to upload'
required: false
2020-07-09 23:05:11 -04:00
files:
description: 'Comma-separated list of files to upload'
required: false
2020-07-07 22:29:12 -04:00
directory:
description: 'Directory to search for coverage reports.'
required: false
2019-08-07 12:34:25 -07:00
flags:
description: 'Flag upload to group coverage metrics (e.g. unittests | integration | ui,chrome)'
required: false
2023-04-11 13:08:35 -07:00
full_report:
description: Specify the path of a full Codecov report to re-upload
required: false
2021-01-05 17:31:02 -05:00
commit_parent:
description: 'The commit SHA of the parent for which you are uploading coverage. If not present, the parent will be determined using the API of your repository provider. When using the repository providers API, the parent is determined via finding the closest ancestor to the commit.'
2020-07-07 22:29:12 -04: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
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
2021-01-05 17:31:02 -05:00
functionalities:
2023-04-11 13:08:35 -07:00
description: 'Comma-separated list, see the README for options and their usage. Options include `network`, `fixes`, `search`.'
2021-01-05 17:31:02 -05:00
required: false
2022-04-04 16:14:50 -04:00
gcov:
description: 'Run with gcov support'
required: false
gcov_args:
description: 'Extra arguments to pass to gcov'
required: false
2023-04-11 13:08:35 -07:00
gcov_executable:
description: 'gcov executable to run. Defaults to gcov'
required: false
2022-04-04 16:14:50 -04:00
gcov_ignore:
description: 'Paths to ignore during gcov gathering'
required: false
gcov_include:
description: 'Paths to include during gcov gathering'
required: false
2021-01-05 17:31:02 -05:00
move_coverage_to_trash:
description: 'Move discovered coverage reports to the trash'
required: false
name:
description: 'User defined upload name. Visible in Codecov UI'
required: false
2023-04-11 13:08:35 -07:00
network_filter:
description: 'Specify a filter on the files listed in the network section of the Codecov report. 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
os:
description: 'Override the assumed OS. Options are alpine | linux | macos | windows.'
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
override_commit:
description: 'Specify the commit SHA'
required: false
override_pr:
description: 'Specify the pull request number'
required: false
override_tag:
description: 'Specify the git tag'
required: false
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
2023-04-11 13:08:35 -07:00
swift:
description: 'Run with swift coverage support'
required: false
swift_project:
description: 'Specify the swift project to speed up coverage conversion'
required: false
upstream_proxy:
description: 'The upstream http proxy server to connect through'
required: false
2021-06-24 10:50:37 -04:00
url:
description: 'Change the upload host (Enterprise use)'
required: false
2020-10-16 18:27:17 -04:00
verbose:
description: 'Specify whether the Codecov output should be verbose'
required: false
version:
description: 'Specify which version of the Codecov Uploader should be used. Defaults to `latest`'
required: false
2022-04-21 10:12:03 -04:00
xcode:
description: 'Run with xcode support'
required: false
xcode_archive_path:
description: 'Specify the xcode archive path. Likely specified as the -resultBundlePath and should end in .xcresult'
required: false
2023-04-11 13:08:35 -07:00
xtra_args:
description: 'Add additional uploader args that may be missing in the Action'
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:
2022-04-04 17:13:17 -04:00
using: 'node16'
main: 'dist/index.js'