From 8329e649b08b116485bab559890fe2da645088fa Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sat, 21 Aug 2021 09:41:16 -0400 Subject: [PATCH] try python coveralls package insead of github action --- .github/workflows/main.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2a31272ce..f9e344e8e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,11 +62,13 @@ jobs: HOME: /tmp run: python -m unittest tests/unit/test_conf.py - name: submit coverage report - uses: AndreMiras/coveralls-python-action@master - with: - github-token: ${{ secrets.github_token }} - flag-name: tests-unit-${{ matrix.os }} - parallel: true + env: + GITHUB_TOKEN: ${{ secrets.github_token }} + COVERALLS_FLAG_NAME: tests-unit-${{ runner.os }} + COVERALLS_PARALLEL: true + run: | + pip install coveralls + coveralls --service=github tests-integration: name: "tests / integration" @@ -109,11 +111,12 @@ jobs: needs: ["tests-unit", "tests-integration"] runs-on: ubuntu-latest steps: - - name: Coveralls Finished - uses: AndreMiras/coveralls-python-action@master - with: - github-token: ${{ secrets.github_token }} - parallel-finished: true + - name: finalize coverage report submission + env: + GITHUB_TOKEN: ${{ secrets.github_token }} + run: | + pip install coveralls + coveralls --service=github --finish build: needs: ["lint", "tests-unit", "tests-integration"]