mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-08 08:06:27 +00:00
101 lines
3.5 KiB
YAML
101 lines
3.5 KiB
YAML
name: 'Codecov'
|
|
description: 'GitHub Action that uploads coverage reports for your repository to codecov.io'
|
|
author: 'Ibrahim Ali <@ibrahim0814> & Thomas Hu <@thomasrockhu> | Codecov'
|
|
inputs:
|
|
token:
|
|
description: 'Repository upload token - get it from codecov.io. Required only for private repositories'
|
|
required: false
|
|
files:
|
|
description: 'Comma-separated list of files to upload'
|
|
required: false
|
|
directory:
|
|
description: 'Directory to search for coverage reports.'
|
|
required: false
|
|
flags:
|
|
description: 'Flag upload to group coverage metrics (e.g. unittests | integration | ui,chrome)'
|
|
required: false
|
|
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.'
|
|
required: false
|
|
dry_run:
|
|
description: "Don't upload files to Codecov"
|
|
required: false
|
|
env_vars:
|
|
description: 'Environment variables to tag the upload with (e.g. PYTHON | OS,PYTHON)'
|
|
required: false
|
|
fail_ci_if_error:
|
|
description: 'Specify whether or not CI build should fail if Codecov runs into an error during upload'
|
|
required: false
|
|
file:
|
|
description: 'Path to coverage file to upload'
|
|
required: false
|
|
functionalities:
|
|
description: 'Comma-separated list, see the README for options and their usage'
|
|
required: false
|
|
gcov:
|
|
description: 'Run with gcov support'
|
|
required: false
|
|
gcov_args:
|
|
description: 'Extra arguments to pass to gcov'
|
|
required: false
|
|
gcov_ignore:
|
|
description: 'Paths to ignore during gcov gathering'
|
|
required: false
|
|
gcov_include:
|
|
description: 'Paths to include during gcov gathering'
|
|
required: false
|
|
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
|
|
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
|
|
os:
|
|
description: 'Override the assumed OS. Options are alpine | linux | macos | windows.'
|
|
required: false
|
|
root_dir:
|
|
description: 'Used when not in git/hg project to identify project root directory'
|
|
required: false
|
|
slug:
|
|
description: 'Specify the slug manually (Enterprise use)'
|
|
required: false
|
|
url:
|
|
description: 'Change the upload host (Enterprise use)'
|
|
required: false
|
|
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
|
|
working-directory:
|
|
description: 'Directory in which to execute codecov.sh'
|
|
required: false
|
|
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
|
|
branding:
|
|
color: 'red'
|
|
icon: 'umbrella'
|
|
runs:
|
|
using: 'node16'
|
|
main: 'dist/index.js'
|