diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4de7ef954..b5030e1ea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: diff --git a/requirements.d/dev.txt b/requirements.d/dev.txt index e3be13947..72ff7001e 100644 --- a/requirements.d/dev.txt +++ b/requirements.d/dev.txt @@ -3,6 +3,7 @@ flake8 pyinstaller pylint pytest +pytest-cov pytest-faulthandler pytest-mock pytest-qt