| bcr_test_module: | |
| module_path: tests/bcr/go_mod | |
| matrix: | |
| platform: | |
| - debian10 | |
| - ubuntu2004 | |
| - macos | |
| - windows | |
| bazel: [6.x, 7.x, 8.0.0rc2] | |
| tasks: | |
| run_test_module: | |
| name: Run test module | |
| platform: ${{ platform }} | |
| bazel: ${{ bazel }} | |
| shell_commands: | |
| # Regenerate the BUILD files for the test module using Gazelle. | |
| - rm pkg/BUILD.bazel proto/BUILD.bazel | |
| - bazel run //:gazelle -- update pkg proto | |
| - bazel run //:gazelle -- pkg proto | |
| build_targets: | |
| - //... | |
| - //:gazelle | |
| test_targets: | |
| # Specify these targets explicitly to verify that Gazelle generates them correctly. | |
| - "//pkg:pkg_test" | |
| - "//proto:proto_test" | |
| - "//..." | |
| - "@test_dep//..." |