You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "damccorm (via GitHub)" <gi...@apache.org> on 2023/06/21 15:22:40 UTC

[GitHub] [beam] damccorm commented on a diff in pull request #26846: [WIP] Add Spec Files + PreCommit Test

damccorm commented on code in PR #26846:
URL: https://github.com/apache/beam/pull/26846#discussion_r1237190571


##########
build.gradle.kts:
##########
@@ -469,6 +469,16 @@ tasks.register("pythonPreCommit") {
   dependsOn(":sdks:python:test-suites:tox:py311:preCommitPy311")
 }
 
+tasks.register("pythonNotebooksPreCommit") {
+    /* doLast {
+      exec {
+        executable("sh")
+        args ("-c", ". ${envdir}/bin/activate && python -m apache_beam.examples.wordcount --runner DirectRunner --output /tmp/output.txt")
+      }
+     }*/
+  dependsOn(":sdks:python:wordCount")

Review Comment:
   This seems wrong - this should be depending on a task in `:examples:notebooks`, right?



-- 
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: github-unsubscribe@beam.apache.org

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