Skip to content

Commit 8065153

Browse files
author
Tamas Vajk
committed
Remove --instrumentation_filter from .bazelrc to fix sub-workspace CI
The .bazelrc is inherited by sub-workspace CI tasks (cc_common_link, bzlmod_repo_mapping, sys, pyo3) causing build/test failures. The flag is already passed via coverage_flags in presubmit.yml for coverage tasks. Co-authored-by: Isaac
1 parent b8bd1ab commit 8065153

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

.bazelrc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ coverage --combined_report=lcov
2020
coverage --experimental_fetch_all_coverage_outputs
2121
coverage --experimental_split_coverage_postprocessing
2222

23-
# Instrument all workspace targets for coverage. Without this, the default
24-
# --instrumentation_filter may not match workspace targets, resulting in
25-
# empty coverage reports. Projects should adjust this to exclude vendored
26-
# dependencies, e.g.: coverage --instrumentation_filter=^//,-^//third_party
27-
coverage --instrumentation_filter=^//
28-
2923
# Required for some of the tests
3024
# https://bazel.build/reference/command-line-reference#flag--experimental_cc_shared_library
3125
common --experimental_cc_shared_library

0 commit comments

Comments
 (0)