From 47e3676917b6f673ae4cb51b8a950ec59a2c28ca Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 10 Oct 2026 18:40:27 +0000 Subject: [PATCH 1/2] Report test coverage to Coveralls from GitHub Actions The coveralls upload was lost in the migration from Travis CI to GitHub Actions, so coverage has not been reported since. Generate an LCOV report after the test run and upload it with the Coveralls action, one parallel job per Python version, then close the parallel build in a final job. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01WXd5SZvcgC73D24YWD3jK4 --- .github/workflows/test.yaml | 19 +++++++++++++++++++ .gitignore | 1 + 2 files changed, 20 insertions(+) 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 From 4727a8b8b2828a1e8b3b67d8129aabbd69feb537 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 10 Oct 2026 18:42:36 +0000 Subject: [PATCH 2/2] Update Coveralls badge and link to current URLs Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01WXd5SZvcgC73D24YWD3jK4 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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