From 3cdc9016a81dfebec0489752e3438fd2b5520a0b Mon Sep 17 00:00:00 2001 From: baztian Date: Fri, 19 Jun 2020 21:08:16 +0200 Subject: [PATCH] Fix Coveralls for parallel builds --- .github/workflows/python-package.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 06d3ae7..7fd6d20 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -10,7 +10,7 @@ on: branches: [ master ] jobs: - build: + test: runs-on: ubuntu-latest strategy: @@ -44,7 +44,19 @@ jobs: - name: Test with tox for non Jython only if: ${{ ! matrix.jython }} run: tox - - name: Coveralls + - name: Coveralls Parallel uses: coverallsapp/github-action@master with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.github_token }} + flag-name: run-${{ matrix.python-version }}-${{ matrix.plattform }} + parallel: true + + finish: + needs: test + runs-on: ubuntu-latest + steps: + - name: Coveralls Finished + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.github_token }} + parallel-finished: true