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

Commit

Permalink
feat(test): Add code coverage configs
Browse files Browse the repository at this point in the history
Add bazel coverage configurations. Report generation is include in
buildkite CI and would be uploaded to artifact.
  • Loading branch information
Yu Wei Wu committed Mar 18, 2019
1 parent cec1168 commit 02f52e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
test --copt='-ggdb3'
coverage -s
coverage --experimental_cc_coverage
coverage --combined_report=lcov
coverage --coverage_report_generator=@bazel_tools//tools/test/CoverageOutputGenerator/java/com/google/devtools/coverageoutputgenerator:Main
coverage --instrumentation_filter="-/tests[/:]"

# Address Sanitizer:--config asan
build:asan --strip=never
Expand Down

0 comments on commit 02f52e9

Please sign in to comment.