diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9f9b74f..775ec16 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -56,3 +56,22 @@ jobs: - name: Test run: | make coverage + coverage lcov + + - name: Upload coverage to Coveralls + uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # v2.3.8 + with: + file: coverage.lcov + flag-name: python-${{ matrix.python-version }} + parallel: true + + coveralls: + name: "Finish Coveralls" + needs: [ test ] + if: ${{ always() }} + runs-on: ubuntu-latest + steps: + - name: Close parallel Coveralls build + uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # v2.3.8 + with: + parallel-finished: true diff --git a/.gitignore b/.gitignore index 861d6b2..4e74a2d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ dist doc/_build *.egg-info .idea +coverage.lcov diff --git a/README.md b/README.md index 06c8aef..8331629 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ python-json-pointer [![PyPI version](https://img.shields.io/pypi/v/jsonpointer.svg)](https://pypi.python.org/pypi/jsonpointer/) [![Supported Python versions](https://img.shields.io/pypi/pyversions/jsonpointer.svg)](https://pypi.python.org/pypi/jsonpointer/) -[![Coverage Status](https://coveralls.io/repos/stefankoegl/python-json-pointer/badge.svg?branch=master)](https://coveralls.io/r/stefankoegl/python-json-pointer?branch=master) +[![Coverage Status](https://coveralls.io/repos/github/stefankoegl/python-json-pointer/badge.svg?branch=master)](https://coveralls.io/github/stefankoegl/python-json-pointer?branch=master) Resolve JSON Pointers in Python @@ -18,4 +18,4 @@ See source code for examples * Documentation: https://python-json-pointer.readthedocs.org/ * PyPI: https://pypi.python.org/pypi/jsonpointer * Travis CI: https://travis-ci.org/stefankoegl/python-json-pointer -* Coveralls: https://coveralls.io/r/stefankoegl/python-json-pointer +* Coveralls: https://coveralls.io/github/stefankoegl/python-json-pointer