Skip to content

Commit

Permalink
Fix Coveralls Upload (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shutgun authored Jan 14, 2025
1 parent 644daf7 commit 8443faf
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,13 @@ jobs:
pip install -e .[test]
- name: Test with pytest
run: |
pytest --cov=devolo_home_control_api
pytest --cov=devolo_home_control_api --cov-report=xml
- name: Preserve coverage
uses: actions/[email protected]
if: matrix.python-version == '3.9'
with:
name: coverage
include-hidden-files: true
path: .coverage
path: coverage.xml

coverage:
name: Upload coverage
Expand All @@ -105,11 +104,9 @@ jobs:
with:
name: coverage
- name: Coveralls
run: |
python -m pip install --upgrade pip
pip install wheel coveralls
export COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_TOKEN }}
coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Clean up coverage
uses: geekyeggo/[email protected]
with:
Expand Down

0 comments on commit 8443faf

Please sign in to comment.