Disable docs test on Bazel 7

PiperOrigin-RevId: 690986457
Change-Id: I9b285fd20c327c37c8a1aafd8d2e97f45ebf040b
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml
index 599b5f9..3e2417f 100644
--- a/.bazelci/presubmit.yml
+++ b/.bazelci/presubmit.yml
@@ -31,7 +31,10 @@
     name: "Bazel 7.x"
     bazel: "7.4.0"
     build_targets: *build_targets
-    test_targets: *test_targets
+    test_targets:
+      - "//test/..."
+      - "//java/test/..."
+      - "-//test:docs_up_to_date_test"
   ubuntu2004_integration:
     name: "Bazel 7.x Integration"
     bazel: "7.4.0"