bcr_test_module:
  module_path: "bcr_test"
  matrix:
    platform:
      - "debian10"
      - "macos"
      - "macos_arm64"
      - "rockylinux8"
      - "rockylinux8_arm64"
      - "ubuntu2004"
      - "ubuntu2404"
    bazel: [ 7.*, 8.* ]
  tasks:
    run_tests:
      name: "Run test module"
      platform: ${{ platform }}
      bazel: ${{ bazel }}
      build_targets:
        - "//..."
      build_flags:
        # Required by sh_test with Bazel 7 and earlier
        - "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=0"
      test_targets:
        - "//..."
      test_flags:
        # Required by sh_test with Bazel 7 and earlier
        - "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=0"
