Skip to content

Commit 283d269

Browse files
committed
Add verbosity
1 parent dade30a commit 283d269

6 files changed

Lines changed: 34631 additions & 33856 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ steps:
2525
flags: unittests # optional
2626
name: codecov-umbrella # optional
2727
fail_ci_if_error: true # optional (default = false)
28+
verbose: true # optional (default = false)
2829
```
2930
>**Note**: This assumes that you've set your Codecov token inside *Settings > Secrets* as `CODECOV_TOKEN`. If not, you can [get an upload token](https://docs.codecov.io/docs/frequently-asked-questions#section-where-is-the-repository-upload-token-found-) for your specific repo on [codecov.io](https://www.codecov.io). Keep in mind that secrets are *not* available to forks of repositories.
3031

@@ -45,6 +46,7 @@ Codecov's Action currently supports five inputs from the user: `token`, `file`,
4546
| `name` | Custom defined name for the upload | Optional
4647
| `fail_ci_if_error` | Specify if CI pipeline should fail when Codecov runs into errors during upload. *Defaults to **false*** | Optional
4748
| `path_to_write_report` | Write upload file to path before uploading | Optional
49+
| `verbose` | Specify whether the Codecov output should be verbose | Optional
4850

4951
### Example `workflow.yml` with Codecov Action
5052

@@ -83,6 +85,7 @@ jobs:
8385
name: codecov-umbrella
8486
fail_ci_if_error: true
8587
path_to_write_report: ./coverage/codecov_report.gz
88+
verbose: true
8689
```
8790
## Contributing
8891

@@ -93,4 +96,4 @@ Contributions are welcome! Check out the [Contribution Guide](CONTRIBUTING.md).
9396
The code in this project is released under the [MIT License](LICENSE).
9497

9598

96-
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-action.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-action?ref=badge_large)
99+
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-action.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-action?ref=badge_large)

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ inputs:
2929
fail_ci_if_error:
3030
description: 'Specify whether or not CI build should fail if Codecov runs into an error during upload'
3131
required: false
32+
verbose:
33+
description: 'Specify whether the Codecov output should be verbose'
34+
required: false
3235
branding:
3336
color: 'red'
3437
icon: 'umbrella'

0 commit comments

Comments
 (0)