Skip to content

Commit

Permalink
Use pytest-cov plugin to avoid hangers and subproc issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
m3nu committed Feb 18, 2021
1 parent 7b0bc73 commit 3c11ec0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ jobs:
if: runner.os == 'Linux'
run: |
xvfb-run --server-args="-screen 0 1024x768x24+32" \
-a dbus-run-session -- coverage run -m pytest
-a dbus-run-session -- pytest --cov=vorta
- name: Test with pytest (macOS)
# no codecov due to hangs.
if: runner.os == 'macOS'
run: |
pytest
pytest --cov=vorta
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
env:
Expand Down
1 change: 1 addition & 0 deletions requirements.d/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ flake8
pyinstaller
pylint
pytest
pytest-cov
pytest-faulthandler
pytest-mock
pytest-qt
Expand Down

0 comments on commit 3c11ec0

Please sign in to comment.