Generate BUILD.bazel files before running tests
This should generate all the necessary files by running the "//:gazelle" targets before testing anything.
Closes #240
PiperOrigin-RevId: 206937663
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml
index 9658062..6573fd7 100644
--- a/.bazelci/presubmit.yml
+++ b/.bazelci/presubmit.yml
@@ -2,6 +2,7 @@
platforms:
ubuntu1404:
run_targets:
+ - "//:gazelle"
- "@nodejs//:yarn"
build_targets:
- "..."
@@ -12,6 +13,7 @@
- "..."
ubuntu1604:
run_targets:
+ - "//:gazelle"
- "@nodejs//:yarn"
build_targets:
- "..."
@@ -22,6 +24,7 @@
- "..."
macos:
run_targets:
+ - "//:gazelle"
- "@nodejs//:yarn"
build_targets:
- "..."
@@ -32,6 +35,8 @@
- "..."
windows:
run_targets:
+ # TODO(alexeagle): add go build generation when rules_go is fixed
+ # - "//:gazelle"
- "@nodejs//:yarn"
# TODO(alexeagle): expand to all targets when rules_go is fixed
build_targets: