Skip to content

Commit 9ce983e

Browse files
authored
Merge pull request #87 from stefankoegl/claude/coveralls-upload
2 parents f1f238b + 4727a8b commit 9ce983e

3 files changed

Lines changed: 22 additions & 2 deletions

File tree

‎.github/workflows/test.yaml‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,22 @@ jobs:
5656
- name: Test
5757
run: |
5858
make coverage
59+
coverage lcov
60+
61+
- name: Upload coverage to Coveralls
62+
uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # v2.3.8
63+
with:
64+
file: coverage.lcov
65+
flag-name: python-${{ matrix.python-version }}
66+
parallel: true
67+
68+
coveralls:
69+
name: "Finish Coveralls"
70+
needs: [ test ]
71+
if: ${{ always() }}
72+
runs-on: ubuntu-latest
73+
steps:
74+
- name: Close parallel Coveralls build
75+
uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # v2.3.8
76+
with:
77+
parallel-finished: true

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ dist
77
doc/_build
88
*.egg-info
99
.idea
10+
coverage.lcov

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ python-json-pointer
33

44
[![PyPI version](https://img.shields.io/pypi/v/jsonpointer.svg)](https://pypi.python.org/pypi/jsonpointer/)
55
[![Supported Python versions](https://img.shields.io/pypi/pyversions/jsonpointer.svg)](https://pypi.python.org/pypi/jsonpointer/)
6-
[![Coverage Status](https://coveralls.io/repos/stefankoegl/python-json-pointer/badge.svg?branch=master)](https://coveralls.io/r/stefankoegl/python-json-pointer?branch=master)
6+
[![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)
77

88

99
Resolve JSON Pointers in Python
@@ -18,4 +18,4 @@ See source code for examples
1818
* Documentation: https://python-json-pointer.readthedocs.org/
1919
* PyPI: https://pypi.python.org/pypi/jsonpointer
2020
* Travis CI: https://travis-ci.org/stefankoegl/python-json-pointer
21-
* Coveralls: https://coveralls.io/r/stefankoegl/python-json-pointer
21+
* Coveralls: https://coveralls.io/github/stefankoegl/python-json-pointer

0 commit comments

Comments
 (0)