forked from LBRYCommunity/lbry-sdk
coverage fix
This commit is contained in:
parent
7828a79a96
commit
0085ac534d
2 changed files with 2 additions and 3 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue