coverage fix

This commit is contained in:
Lex Berezhny 2021-08-21 15:41:06 -04:00
parent 7828a79a96
commit 0085ac534d
2 changed files with 2 additions and 3 deletions

View file

@ -108,7 +108,7 @@ jobs:
path: ./.tox path: ./.tox
key: tox-integration-${{ matrix.test }}-${{ hashFiles('setup.py') }} key: tox-integration-${{ matrix.test }}-${{ hashFiles('setup.py') }}
restore-keys: txo-integration-${{ matrix.test }}- restore-keys: txo-integration-${{ matrix.test }}-
- run: pip install tox - run: pip install tox coverage coveralls
- run: tox -e ${{ matrix.test }} - run: tox -e ${{ matrix.test }}
- name: submit coverage report - name: submit coverage report
env: env:
@ -116,7 +116,7 @@ jobs:
COVERALLS_FLAG_NAME: tests-integration-${{ steps.os-name.outputs.lowercase }} COVERALLS_FLAG_NAME: tests-integration-${{ steps.os-name.outputs.lowercase }}
COVERALLS_PARALLEL: true COVERALLS_PARALLEL: true
run: | run: |
pip install coveralls coverage combine tests
coveralls --service=github coveralls --service=github

View file

@ -13,4 +13,3 @@ commands =
blockchain: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.blockchain {posargs} blockchain: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.blockchain {posargs}
datanetwork: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.datanetwork {posargs} datanetwork: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.datanetwork {posargs}
other: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.other {posargs} other: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.other {posargs}
coverage combine