pingcap / pingcap/tidb

Migrate to new coverage build introduced from go1.20

Open
#44,301 1 comment 2 reactions 0 assignees View on GitHub
affects-7.1 sig/sql-infra type/feature-request
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

We only need `go build -cover` to build the binary for integration testing, It will be simpler for building and testing.

Branch: master, release-7.1

Ref:
- https://github.com/pingcap/tidb/blob/c4756df3b4e6ba6b5a532e0999ac3a28c40fa31a/Makefile#L203C1-L208
- https://go.dev/blog/integration-test-coverage

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.