Skip to content

Commit

Permalink
Add parallel code coverage GHA config
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmcintosh committed Jun 24, 2024
1 parent a3ec0f4 commit dc7ca82
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,21 @@ jobs:
key: go-${{ hashFiles('**/go.sum') }}
- name: Checkout Code
uses: actions/checkout@v2

- name: Test Plank
run: go test -v -race -covermode atomic -coverprofile=profile.cov ./...
run: go test -v -race -covermode atomic -coverprofile=profile.cov ./...

- name: Send Coverage
uses: shogo82148/actions-goveralls@v1
with:
parallel: true
flag-name: Go-${{ matrix.go-version }}
path-to-profile: profile.cov

finish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true

0 comments on commit dc7ca82

Please sign in to comment.