Skip to content

Commit 1286830

Browse files
committed
Fix coverage on Windows with Powershell
1 parent 80e8e54 commit 1286830

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
- name: Test
2828
run: go test ./...
2929
- name: Test coverage
30-
run: go test -coverprofile=profile.cov ./...
30+
run: go test -coverprofile="cover.out" ./... # quotes needed for powershell
3131
- name: Send coverage
3232
uses: shogo82148/actions-goveralls@v1
3333
with:
34-
path-to-profile: profile.cov
34+
path-to-profile: cover.out
3535
flag-name: go${{ matrix.go-version }}-${{ matrix.os }}
3636
parallel: true
3737
# notifies that all test jobs are finished.

0 commit comments

Comments
 (0)