From 9a6b3f12d06a765eaeee7336828fb330ddba2d93 Mon Sep 17 00:00:00 2001 From: Niels Date: Wed, 30 Oct 2024 17:20:58 +0100 Subject: [PATCH] Fix --- .github/workflows/build.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74b814b..d2864b3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,12 +33,28 @@ jobs: run: | coverage report coveralls - env: | + env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COVERALLS_FLAG_NAME: ${{ matrix.python-version }} + COVERALLS_PARALLEL: true - name: Publish to PyPI if: github.ref == 'master' && github.event_name == 'push' && matrix.python-version == '3.10' uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_TOKEN }} - skip_existing: true \ No newline at end of file + skip_existing: true + + + coveralls: + name: Indicate completion to coveralls.io + needs: build + runs-on: ubuntu-latest + container: python:3-slim + steps: + - name: Install coveralls + run: pip3 install --upgrade coveralls + - name: Finished + run: coveralls --finish + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file