From bca742304d5f91014fc96f94aea10e787c6f6329 Mon Sep 17 00:00:00 2001 From: Angeline Burrell Date: Fri, 29 Mar 2024 11:11:06 -0400 Subject: [PATCH] BUG: try coverallsapp Try coveralls app for GitHub Actions and see if that fixes things. --- .github/workflows/main.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 793398b2..7acfc598 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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