Skip to content

Commit

Permalink
BUG: try coverallsapp
Browse files Browse the repository at this point in the history
Try coveralls app for GitHub Actions and see if that fixes things.
  • Loading branch information
aburrell committed Mar 29, 2024
1 parent 0d6d379 commit bca7423
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,18 @@ jobs:
run: coverage run --rcfile=pyproject.toml -m unittest discover

- name: Publish results to coveralls upon success
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_PARALLEL: true
COVERALLS_FLAG_NAME: run-${{ matrix.python-version }}-${{ matrix.os }}-${{ matrix.install-extras }}
run: coveralls --rcfile=pyproject.toml --service=github || true
uses: coverallsapp/github-action@v2
with:
flag-name: run-${{ join(matrix.*, '-') }}
parallel: true

finish:
name: Finish Coverage Analysis
needs: build
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pip install --upgrade coveralls
coveralls --service=github --finish || true
uses: coverallsapp/github-action@v2
with:
parallel-finished: true

0 comments on commit bca7423

Please sign in to comment.