Merge branch 'master' of github.com:codecov/codecov-github-action

This commit is contained in:
“ibrahim0814” 2019-08-07 13:10:14 -07:00
commit e749576e48
No known key found for this signature in database
GPG key ID: DBBD7CB06738E2BF

View file

@ -14,6 +14,7 @@ steps:
with:
token: ${{secrets.CODECOV_TOKEN}} #for private repos
file: ./coverage.xml #optional
flags: unittests #optional
```
>**Note**: This assumes that you've set your Codecov token inside settings > secrets as `CODECOV_TOKEN`. If not, you can get an upload token for your specific repo on codecov.io. A token is *not* required for public repositories.
@ -44,14 +45,16 @@ jobs:
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.xml
flags: unittests
```
## Arguments
| Argument | Description |
| Input | Description |
| :---: | :---: |
| `token` | Used to authorize coverage report uploads |
| `file` | Location of the coverage report |
| `flags` | Flag upload to group coverage metrics |
## License