diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8bc75ba..01f620a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,3 +32,14 @@ jobs: - name: Report coverage run: coverage report -m + + - name: Generate lcov coverage report + if: matrix.python-version == '3.13' + run: coverage lcov -o coverage.lcov + + - name: Upload coverage to Coveralls + if: matrix.python-version == '3.13' + uses: coverallsapp/github-action@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: coverage.lcov diff --git a/README.md b/README.md index da557ca..d2754b7 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ bikeshare-client-python ----------------------- [![Test](https://github.com/jakehadar/bikeshare-client-python/actions/workflows/test.yml/badge.svg)](https://github.com/jakehadar/bikeshare-client-python/actions/workflows/test.yml) -[![Coverage Status](https://coveralls.io/repos/github/jakehadar/bikeshare-client/badge.svg?branch=coverage)](https://coveralls.io/github/jakehadar/bikeshare-client?branch=coverage) +[![Coverage Status](https://coveralls.io/repos/github/jakehadar/bikeshare-client-python/badge.svg?branch=master)](https://coveralls.io/github/jakehadar/bikeshare-client-python?branch=master) A Python client for discovering and capturing live bikeshare data feeds made publically available by [hundreds of global bikeshare providers](https://raw.githubusercontent.com/NABSA/gbfs/master/systems.csv) in accordance with the [General Bikeshare Feed Specification (GBFS)](https://github.com/NABSA/gbfs/blob/master/gbfs.md) standard.