Skip to content

Commit e749576

Browse files
committed
Merge branch 'master' of github.com:codecov/codecov-github-action
2 parents 4a87a38 + d7c531a commit e749576

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ steps:
1414
with:
1515
token: ${{secrets.CODECOV_TOKEN}} #for private repos
1616
file: ./coverage.xml #optional
17+
flags: unittests #optional
1718
```
1819
>**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.
1920

@@ -44,14 +45,16 @@ jobs:
4445
with:
4546
token: ${{secrets.CODECOV_TOKEN}}
4647
file: ./coverage.xml
48+
flags: unittests
4749
```
4850

4951
## Arguments
5052

51-
| Argument | Description |
53+
| Input | Description |
5254
| :---: | :---: |
5355
| `token` | Used to authorize coverage report uploads |
5456
| `file` | Location of the coverage report |
57+
| `flags` | Flag upload to group coverage metrics |
5558

5659

5760
## License

0 commit comments

Comments
 (0)