dweiss commented on code in PR #14905:
URL: https://github.com/apache/lucene/pull/14905#discussion_r2189127782


##########
build-tools/build-infra/src/main/groovy/lucene.documentation.gradle:
##########
@@ -70,6 +70,15 @@ configure(project(':lucene:documentation')) {
         'markdownToHtml', 'createDocumentationIndex'
   })
 
+  // in CI, fully build documentation. this is very costly, way too
+  // much for a developer workflow, but it validates build machinery,
+  // and link references from overview.html, that javac won't catch
+  if (System.getenv("CI") != null) {
+    tasks.named("check").configure {
+      dependsOn 'documentation'
+    }
+  }

Review Comment:
   But I'm also ok to move it to nightly only.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to