diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-05-22 16:38:25 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-05-23 14:57:26 +0300 |
commit | 07fc661b6836bf8006715a4934a15caf2ee4864a (patch) | |
tree | 5c0dff36975d5febbfba7a9f03a2a43f5096642c /Makefile | |
parent | e7100e8e73ffa25f3ae4db0da71d14100c109ebe (diff) |
ci: Generate code coverage for all test jobs
We have an explicit "coverage" job that computes test coverage. Now that
we have started to compute code coverage in our tests by default though
it doesn't make much sense anymore to treat this job specially.
Refactor our CI pipeline to extract code coverage for all jobs. This
gives us a better global picture of which jobs cover what parts of our
codebase. Remove the Makefile target that drove this as it is likely no
longer of use to anybody.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -465,14 +465,6 @@ notice: ${SOURCE_DIR}/NOTICE clean: rm -rf ${BUILD_DIR} -.PHONY: cover -## Generate coverage report via Go tests. -cover: test-go - ${Q}echo "" - ${Q}echo "=====> Total test coverage: <=====" - ${Q}echo "" - ${Q}go tool cover -func "${TEST_COVERAGE_DIR}/all.merged" - .PHONY: proto ## Regenerate protobuf definitions. proto: SHARED_PROTOC_OPTS = --plugin=${PROTOC_GEN_GO} --plugin=${PROTOC_GEN_GO_GRPC} --plugin=${PROTOC_GEN_GITALY_PROTOLIST} --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative |