Skip to content

Commit d981b48

Browse files
authored
chore: separate coverage reporting step (#4039)
1 parent 9a1207c commit d981b48

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,20 @@ jobs:
2828
go tool gotestsum -- -race -v -count=1 ./... \
2929
-coverpkg="./cmd/...,./internal/...,${pkgs}" -coverprofile=coverage.out
3030
31+
- uses: actions/upload-artifact@v4
32+
with:
33+
name: code-coverage-report
34+
path: coverage.out
35+
36+
coverage:
37+
name: Coverage
38+
needs:
39+
- test
40+
runs-on: ubuntu-latest
41+
steps:
42+
- uses: actions/download-artifact@v4
43+
with:
44+
name: code-coverage-report
3145
- uses: coverallsapp/github-action@v2
3246
with:
3347
file: coverage.out

0 commit comments

Comments
 (0)