Skip to content
This repository was archived by the owner on Dec 26, 2022. It is now read-only.

Commit 02f52e9

Browse files
author
Yu Wei Wu
committed
feat(test): Add code coverage configs
Add bazel coverage configurations. Report generation is include in buildkite CI and would be uploaded to artifact.
1 parent cec1168 commit 02f52e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.bazelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
test --copt='-ggdb3'
2+
coverage -s
3+
coverage --experimental_cc_coverage
4+
coverage --combined_report=lcov
5+
coverage --coverage_report_generator=@bazel_tools//tools/test/CoverageOutputGenerator/java/com/google/devtools/coverageoutputgenerator:Main
6+
coverage --instrumentation_filter="-/tests[/:]"
27

38
# Address Sanitizer:--config asan
49
build:asan --strip=never

0 commit comments

Comments
 (0)