mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-23 20:27:02 +08:00
Add if conditional in example for linux
This commit is contained in:
@@ -52,7 +52,8 @@ jobs:
|
|||||||
pip install pytest
|
pip install pytest
|
||||||
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}}
|
||||||
|
|||||||
Reference in New Issue
Block a user