Skip to content

Commit

Permalink
Use goveralls parallel build
Browse files Browse the repository at this point in the history
  • Loading branch information
harold-s committed Sep 17, 2024
1 parent ac11203 commit 1477610
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ name: Test
# See https://github.com/lemurheavy/coveralls-public/issues/1716
env:
COVERALLS_SERVICE_NUMBER: ${{ github.run_id }}-${{ github.run_attempt }}
COVERALLS_PARALLEL: true
jobs:
test:
strategy:
Expand Down Expand Up @@ -36,3 +37,15 @@ jobs:
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=.covprofile -service=github
finish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Close goveralls parallel build
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=.covprofile -service=github -parallel-finish=true

0 comments on commit 1477610

Please sign in to comment.