diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index eed1b5a..1917d3f 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml @@ -10,6 +10,7 @@ bcr_test_module: bazel: - "7.x" - "8.x" + - "9.*" tasks: run_tests: name: "Run test module" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4257446..5bcc8c9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,6 +20,7 @@ jobs: bazel-version: - 7.x - 8.x + - 9.* runner: - ubuntu-22.04 - ubuntu-24.04 @@ -48,6 +49,7 @@ jobs: bazel-version: - 7.x - 8.x + - 9.* runner: - ubuntu-22.04 - ubuntu-24.04 diff --git a/development/cli/validate_example.bash b/development/cli/validate_example.bash index 7205e01..8575c00 100755 --- a/development/cli/validate_example.bash +++ b/development/cli/validate_example.bash @@ -51,13 +51,8 @@ while IFS= read -r line; do done <<< "${INCOMPATIBILITY_FLAGS_FLATTENED}" if [[ "${#incompatibility_flags[@]}" -eq 0 ]]; then - echo "ERROR: Failed to obtain the incompatibility flags." >&2 - echo "The content of the YAML file:" >&2 - echo "${INCOMPATIBILITY_FLAGS_YAML}" >&2 - echo "The content of the flattened list:" >&2 - echo "${INCOMPATIBILITY_FLAGS_FLATTENED}" >&2 - exit 1 + bazel test //... +else + echo "INFO: Incompatibility flags enabled:" "${incompatibility_flags[@]}" + bazel test "${incompatibility_flags[@]}" //... fi - -echo "INFO: Incompatibility flags enabled:" "${incompatibility_flags[@]}" -bazel test "${incompatibility_flags[@]}" //...