diff --git a/.bazelrc b/.bazelrc index 22e5a14b5b..a240a3703c 100644 --- a/.bazelrc +++ b/.bazelrc @@ -54,3 +54,6 @@ build --incompatible_no_implicit_file_export # build --incompatible_struct_has_no_methods # TODO(alexeagle): turn on this flag when dependencies allow # build --incompatible_use_platforms_repo_for_constraints + +# Allow exclusive tests to run in a sandbox +test --incompatible_exclusive_test_sandboxed diff --git a/.circleci/bazel.rc b/.circleci/bazel.rc index 619f1e0f59..336d5e69b6 100644 --- a/.circleci/bazel.rc +++ b/.circleci/bazel.rc @@ -4,6 +4,10 @@ # Don't be spammy in the logs build --noshow_progress +# Keep going on failures so that we see all failures no CI and not just the first +# and so that we see everything that passes as well +build --keep_going + # Print all the options that apply to the build. # This helps us diagnose which options override others # (e.g. /etc/bazel.bazelrc vs. tools/bazel.rc) diff --git a/internal/bazel_integration_test/bazel_integration_test.bzl b/internal/bazel_integration_test/bazel_integration_test.bzl index 0f5a7cbaac..78abf25620 100644 --- a/internal/bazel_integration_test/bazel_integration_test.bzl +++ b/internal/bazel_integration_test/bazel_integration_test.bzl @@ -271,6 +271,8 @@ def rules_nodejs_integration_test(name, **kwargs): # tests have been completed. Remote execution is disabled for such tests # because Bazel doesn't have control over what's running on a remote machine. "exclusive", + # These test should run outside of the sandbox as they fail on bazelci otherwise + "local", ] # convert the npm packages into the tar output