From 2e72477fc2d6a7b151c610ca9cfae26d000440ed Mon Sep 17 00:00:00 2001 From: Alexander Frenzel Date: Sat, 19 Sep 2020 01:05:22 -0700 Subject: [PATCH] ci: fix coveralls --- .github/workflows/test.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5fe665a..8e43422 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,24 +38,28 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install tox tox-gh-actions + pip install tox tox-gh-actions coveralls - name: Test with tox run: tox env: PLATFORM: ${{ matrix.platform }} - name: coveralls - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.github_token }} - flag-name: run-${{ matrix.python-version }} - parallel: true + run: coveralls + env: + COVERALLS_PARALLEL: true + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} coveralls: needs: [test] runs-on: ubuntu-latest steps: + - name: Set up Python + uses: actions/setup-python@v2 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install coveralls - name: coveralls - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.github_token }} - parallel-finished: true + run: coveralls --finish + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}