Compare commits

..

9 Commits
v0.1 ... v0.2.1

Author SHA1 Message Date
“ibrahim0814”
125f8ba18b spelling fix 2019-08-07 06:17:19 -07:00
Ibrahim Ali
6a600290f3 correct name 2019-08-07 06:14:40 -07:00
“ibrahim0814”
839122bfbb Merge branch 'master' of github.com:codecov/codecov-github-action 2019-08-07 06:08:55 -07:00
“ibrahim0814”
3f456df687 del logo png 2019-08-07 06:08:32 -07:00
Ibrahim Ali
c465c373d0 Update README.md 2019-08-06 22:48:29 -07:00
“ibrahim0814”
954f2171b8 no token required conditional 2019-08-06 21:46:14 -07:00
“ibrahim0814”
83134b4d62 token req clarification 2019-08-06 21:27:20 -07:00
“ibrahim0814”
da90402a6e correct version on readme 2019-08-06 21:15:30 -07:00
“ibrahim0814”
86b28dee2c rem codecov logo 2019-08-06 21:14:41 -07:00
4 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
<p align="center"><img src="./codecov-logo.png" /></p>
<!-- <p align="center"><img src="./codecov-logo.png" /></p> -->
# Codecov Github Action
# Codecov GitHub Action
### Easily upload coverage reports to Codecov from Github Actions
## Usage
@@ -10,11 +10,11 @@ Inside your `.github/workflows/workflow.yml` file:
```yaml
steps:
- uses: actions/checkout@master
- uses: actions/codecov-action@v1
- uses: actions/codecov-action@v0.2
with:
token: ${{secrets.CODECOV_TOKEN}}
```
>**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
>**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.
## Arguments
@@ -25,4 +25,4 @@ steps:
## License
The code in this project is released under the MIT License
The code in this project is released under the MIT License

View File

@@ -1,10 +1,10 @@
name: 'Codecov'
description: 'Github action that uploads coverage reports for your repository to codecov.io'
description: 'GitHub action that uploads coverage reports for your repository to codecov.io'
author: 'Ib @ Codecov'
inputs:
token:
description: 'Set the repository token'
required: true
required: false
branding:
color: 'red'
icon: 'umbrella'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -4,8 +4,8 @@ set -eu
if [ $# -eq 0 ]
then
echo "No arguments supplied. Please make sure to provide an upload token"
exit 1
bash <(curl -s https://codecov.io/bash)
else
bash <(curl -s https://codecov.io/bash) -t $1
fi
bash <(curl -s https://codecov.io/bash) -t $1