Skip to content

Commit

Permalink
Merge branch 'master' of github.com:codecov/codecov-github-action
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahim0814 committed Aug 7, 2019
2 parents 4a87a38 + d7c531a commit e749576
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e749576

Please sign in to comment.