Skip to content

Commit dc7ca82

Browse files
committed
Add parallel code coverage GHA config
1 parent a3ec0f4 commit dc7ca82

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/test.yaml

+13-1
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,21 @@ jobs:
1818
key: go-${{ hashFiles('**/go.sum') }}
1919
- name: Checkout Code
2020
uses: actions/checkout@v2
21+
2122
- name: Test Plank
22-
run: go test -v -race -covermode atomic -coverprofile=profile.cov ./...
23+
run: go test -v -race -covermode atomic -coverprofile=profile.cov ./...
24+
2325
- name: Send Coverage
2426
uses: shogo82148/actions-goveralls@v1
2527
with:
28+
parallel: true
29+
flag-name: Go-${{ matrix.go-version }}
2630
path-to-profile: profile.cov
31+
32+
finish:
33+
needs: test
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: shogo82148/actions-goveralls@v1
37+
with:
38+
parallel-finished: true

0 commit comments

Comments
 (0)