Skip to content

Commit

Permalink
Fix coverage on Windows with Powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHines committed Feb 27, 2021
1 parent 80e8e54 commit 1286830
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
- name: Test
run: go test ./...
- name: Test coverage
run: go test -coverprofile=profile.cov ./...
run: go test -coverprofile="cover.out" ./... # quotes needed for powershell
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov
path-to-profile: cover.out
flag-name: go${{ matrix.go-version }}-${{ matrix.os }}
parallel: true
# notifies that all test jobs are finished.
Expand Down

0 comments on commit 1286830

Please sign in to comment.