...

Text file src/github.com/bazelbuild/bazel-gazelle/.bcr/presubmit.yml

Documentation: github.com/bazelbuild/bazel-gazelle/.bcr

     1bcr_test_module:
     2  module_path: tests/bcr
     3  matrix:
     4    platform:
     5      - debian10
     6      - ubuntu2004
     7      - macos
     8      - windows
     9    bazel: [6.x, 7.x]
    10  tasks:
    11    run_test_module:
    12      name: Run test module
    13      platform: ${{ platform }}
    14      bazel: ${{ bazel }}
    15      shell_commands:
    16      # Regenerate the BUILD files for the test module using Gazelle.
    17      - rm pkg/BUILD.bazel proto/BUILD.bazel
    18      - bazel run //:gazelle -- update pkg proto
    19      - bazel run //:gazelle -- pkg proto
    20      build_targets:
    21      - //...
    22      - //:gazelle
    23      test_targets:
    24      # Specify these targets explicitly to verify that Gazelle generates them correctly.
    25      - "//pkg:pkg_test"
    26      - "//proto:proto_test"
    27      - "//..."
    28      - "@test_dep//..."

View as plain text