Files
codecov-action/action.yml
T

80 lines
2.8 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
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
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
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
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
2021-08-20 11:23:29 -07:00
os:
description: 'Override the assumed OS. Options are alpine | linux | macos | windows.'
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
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
2020-08-12 23:31:42 +02: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:
2019-11-13 23:44:35 -08:00
using: 'node12'
main: 'dist/index.js'