diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8c3a9d..8423003 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,8 @@ name: Tox tests on: [push, pull_request] +env: + COVERALLS_SERVICE_NUMBER: ${{ github.run_id }}-${{ github.run_attempt }} jobs: test: if: "!contains(github.event.head_commit.message, '[skip ci]')" @@ -46,10 +48,23 @@ jobs: run: | tox -e$TOX_ENV .tox/$TOX_ENV/bin/coverage xml - .tox/$TOX_ENV/bin/coveralls + - name: Coveralls Parallel + uses: coverallsapp/github-action@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + parallel: true - uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} flags: unittests files: ./coverage.xml fail_ci_if_error: false + finish: + needs: test + if: ${{ always() }} + runs-on: ubuntu-latest + steps: + - name: Coveralls Finished + uses: coverallsapp/github-action@v2 + with: + parallel-finished: true diff --git a/changes/248.feature b/changes/248.feature new file mode 100644 index 0000000..ac23805 --- /dev/null +++ b/changes/248.feature @@ -0,0 +1 @@ +Switch to Coveralls Github action