File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 # so clear those variables in the command shell right before go test.
2222 - unset BUILDKITE_ORGANIZATION_SLUG BUILDKITE_API_TOKEN
2323 - go test -coverprofile cover.out ./...
24- - go run github.com/nikolaydubina/go -cover-treemap@v1.5.1 -coverprofile cover.out > cover-tree.svg
24+ - go-cover-treemap -coverprofile cover.out > cover-tree.svg
2525 - echo '<details><summary>Coverage tree map</summary><img src="artifact://cover-tree.svg" alt="Test coverage tree map" width="70%"></details>' | buildkite-agent annotate --style "info"
2626 plugins :
2727 - *mise_plugin
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ backend = "core:go"
1616"platforms.linux-x64" = { checksum = "sha256:031f088e5d955bab8657ede27ad4e3bc5b7c1ba281f05f245bcc304f327c987a", url = "https://dl.google.com/go/go1.26.1.linux-amd64.tar.gz"}
1717"platforms.macos-arm64" = { checksum = "sha256:353df43a7811ce284c8938b5f3c7df40b7bfb6f56cb165b150bc40b5e2dd541f", url = "https://dl.google.com/go/go1.26.1.darwin-arm64.tar.gz"}
1818
19+ [[tools."go:github.com/nikolaydubina/go-cover-treemap"]]
20+ version = "1.5.1"
21+ backend = "go:github.com/nikolaydubina/go-cover-treemap"
22+
1923[[tools.golangci-lint]]
2024version = "2.11.3"
2125backend = "aqua:golangci/golangci-lint"
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ go = "1.26.1"
99golangci-lint = " 2.11.3"
1010lefthook = " 2.1.4"
1111"aqua:mvdan/gofumpt" = " 0.9.2"
12+ "go:github.com/nikolaydubina/go-cover-treemap" = " 1.5.1"
1213"github:goreleaser/goreleaser-pro" = " 2.14.3"
1314ko = " 0.18.1"
1415
You can’t perform that action at this time.
0 commit comments