Add if conditional in example for linux

This commit is contained in:
Ibrahim Ali 2019-11-17 10:35:11 -08:00 committed by GitHub
parent 7ba41fc0d6
commit 8d062b28e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,8 @@ jobs:
pip install pytest
pip install pytest-cov
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
with:
token: ${{secrets.CODECOV_TOKEN}}