Skip to content

Commit

Permalink
Add .bazelrc entries for running bazel coverage (#168)
Browse files Browse the repository at this point in the history
Contributes to #167

Signed-off-by: Sara Adams <[email protected]>
  • Loading branch information
saraadams authored Jan 8, 2024
1 parent ef5c4d5 commit 80c37d7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
common --enable_platform_specific_config
common --experimental_announce_profile_path

coverage --combined_report=lcov
# These are required to make coverage work.
coverage --experimental_fetch_all_coverage_outputs
coverage --experimental_split_coverage_postprocessing
# The Coverage report generator can't run remotely because it's missing some
# RE platform options (especially containerImage).
coverage --strategy=CoverageReport=local

build --explicit_java_test_deps
build --nostamp
build --incompatible_strict_action_env
Expand Down
20 changes: 20 additions & 0 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 80c37d7

Please sign in to comment.