Get file coverage
codecov_get_file_coverageLine-by-line coverage for a single file. Codecov REST: GET /{service}/{owner_username}/repos/{repo_name}/file_report/{path}/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | Commit SHA to report on (defaults to the default branch head). | |
| path | Yes | File path within the repo, e.g. 'src/app.ts' (required; slashes are URL-encoded). | |
| repo | Yes | Repository name, e.g. 'codecov-api' (required). | |
| owner | Yes | Owner username — the organization or user login on the git service, e.g. 'codecov' (required). | |
| branch | No | Branch whose head to report on. | |
| service | No | Git service provider — one of 'github' (default), 'gitlab', 'bitbucket', 'github_enterprise', 'gitlab_enterprise' or 'bitbucket_server'. | github |