mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-13 22:47:25 +00:00
update docs to v1.0.3
This commit is contained in:
parent
3cde50f4f1
commit
b4c0b83601
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# Codecov GitHub Action
|
# Codecov GitHub Action
|
||||||
|
|
||||||
[](https://github.com/marketplace/actions/codecov)
|
[](https://github.com/marketplace/actions/codecov)
|
||||||
### Easily upload coverage reports to Codecov from GitHub Actions
|
### Easily upload coverage reports to Codecov from GitHub Actions
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
@ -12,7 +12,7 @@ Inside your `.github/workflows/workflow.yml` file:
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- uses: codecov/codecov-action@v1.0.2
|
- uses: codecov/codecov-action@v1.0.3
|
||||||
with:
|
with:
|
||||||
token: ${{secrets.CODECOV_TOKEN}} #required
|
token: ${{secrets.CODECOV_TOKEN}} #required
|
||||||
file: ./coverage.xml #optional
|
file: ./coverage.xml #optional
|
||||||
|
|
@ -52,7 +52,7 @@ jobs:
|
||||||
pip install pytest-cov
|
pip install pytest-cov
|
||||||
pytest --cov=./ --cov-report=xml
|
pytest --cov=./ --cov-report=xml
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v1.0.2
|
uses: codecov/codecov-action@v1.0.3
|
||||||
with:
|
with:
|
||||||
token: ${{secrets.CODECOV_TOKEN}}
|
token: ${{secrets.CODECOV_TOKEN}}
|
||||||
file: ./coverage.xml
|
file: ./coverage.xml
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue