update installation docs to latest MP version

This commit is contained in:
Ibrahim Ali
2019-08-25 14:50:59 -07:00
committed by GitHub
parent cb218a0977
commit 1c4a4261fa

View File

@@ -1,6 +1,6 @@
# Codecov GitHub Action # Codecov GitHub Action
[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-v1.0.0-undefined.svg?logo=github&logoColor=white&style=flat)](https://github.com/marketplace/actions/codecov) [![GitHub Marketplace](https://img.shields.io/badge/Marketplace-v1.0.2-undefined.svg?logo=github&logoColor=white&style=flat)](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.0 - uses: codecov/codecov-action@v1.0.2
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.0 uses: codecov/codecov-action@v1.0.2
with: with:
token: ${{secrets.CODECOV_TOKEN}} token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.xml file: ./coverage.xml