Skip to content

Commit 11b27b1

Browse files
committed
test:coverage: nocoverageredesign
1 parent 7f390d0 commit 11b27b1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ jobs:
5353
go-version: ${{ env.GO_VERSION }}
5454
- uses: actions/checkout@v4
5555
- run: go test -coverpkg=./analyzer,./internal/analysisutil,./internal/checkers,./internal/config -coverprofile=coverage.out ./...
56+
env:
57+
GOEXPERIMENT: nocoverageredesign # https://github.com/golang/go/issues/65653#issuecomment-1955872134
5658
- uses: shogo82148/actions-goveralls@v1
5759
with:
5860
path-to-profile: coverage.out

Taskfile.yml

+2
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ tasks:
4747
- go test ./...
4848

4949
test:coverage:
50+
env:
51+
GOEXPERIMENT: nocoverageredesign # https://github.com/golang/go/issues/65653#issuecomment-1955872134
5052
cmds:
5153
- echo "Test with coverage..."
5254
- go test -coverpkg={{ .COVERED_PKGS | trim | splitLines | join "," }} -coverprofile=coverage.out ./...

0 commit comments

Comments
 (0)