Skip to content

Commit

Permalink
feat(presets): always fetch all coverage files on coverage runs (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
kormide authored Oct 4, 2023
1 parent 7f951a7 commit 3ec1c63
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .aspect/bazelrc/correctness.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
# Docs: https://bazel.build/reference/command-line-reference#flag--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
7 changes: 7 additions & 0 deletions lib/tests/bazelrc_presets/all/correctness.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
# Docs: https://bazel.build/reference/command-line-reference#flag--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

0 comments on commit 3ec1c63

Please sign in to comment.