mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-20 20:32:35 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e74d307e33 | ||
|
|
55c9c61f7e |
@@ -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@v0.3
|
- uses: actions/codecov-action@v0.4
|
||||||
with:
|
with:
|
||||||
token: ${{secrets.CODECOV_TOKEN}} #for private repos
|
token: ${{secrets.CODECOV_TOKEN}} #for private repos
|
||||||
file: ./coverage.xml #optional
|
file: ./coverage.xml #optional
|
||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
pytest --cov=./ --cov-report=xml
|
pytest --cov=./ --cov-report=xml
|
||||||
|
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v0.2
|
uses: codecov/codecov-action@v0.4
|
||||||
with:
|
with:
|
||||||
token: ${{secrets.CODECOV_TOKEN}}
|
token: ${{secrets.CODECOV_TOKEN}}
|
||||||
file: ./coverage.xml
|
file: ./coverage.xml
|
||||||
|
|||||||
Reference in New Issue
Block a user