mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-14 06:57:26 +00:00
Add if conditional in example for linux
This commit is contained in:
parent
7ba41fc0d6
commit
8d062b28e1
1 changed files with 2 additions and 1 deletions
|
|
@ -53,6 +53,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
|
||||||
|
if: runner.os == 'Linux'
|
||||||
uses: codecov/codecov-action@v1.0.3
|
uses: codecov/codecov-action@v1.0.3
|
||||||
with:
|
with:
|
||||||
token: ${{secrets.CODECOV_TOKEN}}
|
token: ${{secrets.CODECOV_TOKEN}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue