diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c0c2fc5c4..4dd8f72ac 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -110,6 +110,15 @@ jobs: restore-keys: txo-integration-${{ matrix.test }}- - run: pip install tox - 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: #needs: ["tests-unit", "tests-integration"] diff --git a/tox.ini b/tox.ini index 0b8b7ff90..f8dbde108 100644 --- a/tox.ini +++ b/tox.ini @@ -13,3 +13,4 @@ commands = 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} other: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.other {posargs} + coverage combine tests