Do not try coverage upload for pypy (#867)

Do not try to upload coverage for pypy which is run without coverage.
This commit is contained in:
Steven B 2024-04-25 13:02:17 +01:00 committed by GitHub
parent 6e55c8d989
commit 724dad02f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,6 +108,7 @@ jobs:
run: |
poetry run pytest --cov kasa --cov-report xml
- name: "Upload coverage to Codecov"
if: ${{ !startsWith(matrix.python-version, 'pypy') }}
uses: "codecov/codecov-action@v4"
with:
token: ${{ secrets.CODECOV_TOKEN }}