forked from LBRYCommunity/lbry-sdk
coverage for integration tests
This commit is contained in:
parent
e49cfb1d2b
commit
5576c21e67
2 changed files with 10 additions and 0 deletions
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
@ -110,6 +110,15 @@ jobs:
|
||||||
restore-keys: txo-integration-${{ matrix.test }}-
|
restore-keys: txo-integration-${{ matrix.test }}-
|
||||||
- run: pip install tox
|
- run: pip install tox
|
||||||
- run: tox -e ${{ matrix.test }}
|
- run: tox -e ${{ matrix.test }}
|
||||||
|
- name: submit coverage report
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
COVERALLS_FLAG_NAME: tests-integration-${{ steps.os-name.outputs.lowercase }}
|
||||||
|
COVERALLS_PARALLEL: true
|
||||||
|
run: |
|
||||||
|
pip install coveralls
|
||||||
|
coveralls --service=github
|
||||||
|
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
#needs: ["tests-unit", "tests-integration"]
|
#needs: ["tests-unit", "tests-integration"]
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -13,3 +13,4 @@ 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 tests
|
||||||
|
|
Loading…
Reference in a new issue