diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 39f0db5..0efb9c2 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -29,6 +29,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e .[tests,docs] - - name: Test with pytest - run: pytest + pip install -e .[tests,docs] coveralls + - name: Test with PyTest with Coverage + run: coverage run --source=bip38 -m pytest + - name: Submit Coverage report to Coveralls + if: ${{ matrix.python-version < "3.11" }} + run: coveralls diff --git a/.travis.yml b/.travis.yml index e6208d7..3eeacc2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ dist: bionic before_install: - python -m pip install --upgrade pip install: - - pip install -e .[tests,docs] tox-travis coveralls + - pip install -e .[tests,docs] tox-travis matrix: include: - name: "3.9" @@ -13,6 +13,3 @@ matrix: - name: "3.11" python: 3.11 script: tox -after_success: - - if [ "${TRAVIS_PYTHON_VERSION}" == "3.11" ]; then coverage run --source=bip38 -m pytest; fi; - - if [ "${TRAVIS_PYTHON_VERSION}" == "3.11" ]; then coveralls; fi;