feat(presets): always fetch all coverage files on coverage runs (#564)

This commit is contained in:
Derek Cormier 2023-10-04 16:47:33 -07:00 committed by Alex Eagle
parent dca2b1df0c
commit 99f36cc298
2 changed files with 14 additions and 0 deletions

View File

@ -66,3 +66,10 @@ build --incompatible_default_to_explicit_init_py
# because it contains a BUILD file. See https://github.com/bazelbuild/bazel/issues/8195. # because it contains a BUILD file. See https://github.com/bazelbuild/bazel/issues/8195.
# Docs: https://bazel.build/reference/command-line-reference#flag--incompatible_disallow_empty_glob # Docs: https://bazel.build/reference/command-line-reference#flag--incompatible_disallow_empty_glob
common --incompatible_disallow_empty_glob common --incompatible_disallow_empty_glob
# Always download coverage files for tests from the remote cache. By default, coverage files are not
# downloaded on test result cahce hits when --remote_download_minimal is enabled, making it impossible
# to generate a full coverage report.
# Docs: https://bazel.build/reference/command-line-reference#flag--experimental_fetch_all_coverage_outputs
# detching remote cache results
test --experimental_fetch_all_coverage_outputs

View File

@ -66,3 +66,10 @@ build --incompatible_default_to_explicit_init_py
# because it contains a BUILD file. See https://github.com/bazelbuild/bazel/issues/8195. # because it contains a BUILD file. See https://github.com/bazelbuild/bazel/issues/8195.
# Docs: https://bazel.build/reference/command-line-reference#flag--incompatible_disallow_empty_glob # Docs: https://bazel.build/reference/command-line-reference#flag--incompatible_disallow_empty_glob
common --incompatible_disallow_empty_glob common --incompatible_disallow_empty_glob
# Always download coverage files for tests from the remote cache. By default, coverage files are not
# downloaded on test result cahce hits when --remote_download_minimal is enabled, making it impossible
# to generate a full coverage report.
# Docs: https://bazel.build/reference/command-line-reference#flag--experimental_fetch_all_coverage_outputs
# detching remote cache results
test --experimental_fetch_all_coverage_outputs