mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-15 15:31:44 +00:00
Update README.md
This commit is contained in:
parent
4af6f0743e
commit
e3f7b8baf8
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ Inside your `.github/workflows/workflow.yml` file:
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- uses: actions/codecov-action@v1
|
- uses: actions/codecov-action@v1.0.0
|
||||||
with:
|
with:
|
||||||
token: ${{secrets.CODECOV_TOKEN}} #required
|
token: ${{secrets.CODECOV_TOKEN}} #required
|
||||||
file: ./coverage.xml #optional
|
file: ./coverage.xml #optional
|
||||||
|
|
@ -50,7 +50,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
|
uses: codecov/codecov-action@v1.0.0
|
||||||
with:
|
with:
|
||||||
token: ${{secrets.CODECOV_TOKEN}}
|
token: ${{secrets.CODECOV_TOKEN}}
|
||||||
file: ./coverage.xml
|
file: ./coverage.xml
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue