Skip to content

Commit a0ededf

Browse files
committed
Ignore collection failures
1 parent f0a88c4 commit a0ededf

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.bazelci/presubmit.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ test_targets_bazel_6: &test_targets_bazel_6
3131
- "-//tests/rule_based_toolchain/tool_map:_duplicate_action_test_subject" # Intentionally broken rule.
3232
- "-//tests/system_library:system_library_test" # Should be skipped on Windows and MacOS
3333

34-
# Test failures are not collected under `coverage` invocations.
35-
# https://github.com/bazelbuild/continuous-integration/issues/1838
3634
common_coverage_flags: &common_coverage_flags
35+
# Starting in Bazel 9 coverage collection causes some tests to fail.
36+
# https://github.com/bazelbuild/rules_cc/issues/613
37+
- "--test_env=IGNORE_COVERAGE_COLLECTION_FAILURES=1"
38+
# Test failures are not collected under `coverage` invocations.
39+
# https://github.com/bazelbuild/continuous-integration/issues/1838
3740
- "--test_output=errors"
3841

3942
buildifier:

0 commit comments

Comments
 (0)