Skip to content

Commit

Permalink
easier debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
damccorm committed Dec 26, 2024
1 parent 1a00a4d commit f9e617a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
30 changes: 15 additions & 15 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -502,40 +502,40 @@ tasks.register("pythonFormatterPreCommit") {
}

tasks.register("python39PostCommit") {
dependsOn(":sdks:python:test-suites:dataflow:py39:postCommitIT")
dependsOn(":sdks:python:test-suites:direct:py39:postCommitIT")
dependsOn(":sdks:python:test-suites:direct:py39:hdfsIntegrationTest")
dependsOn(":sdks:python:test-suites:direct:py39:azureIntegrationTest")
// dependsOn(":sdks:python:test-suites:dataflow:py39:postCommitIT")
// dependsOn(":sdks:python:test-suites:direct:py39:postCommitIT")
// dependsOn(":sdks:python:test-suites:direct:py39:hdfsIntegrationTest")
// dependsOn(":sdks:python:test-suites:direct:py39:azureIntegrationTest")
dependsOn(":sdks:python:test-suites:portable:py39:postCommitPy39")
// TODO (https://github.com/apache/beam/issues/23966)
// Move this to Python 3.10 test suite once tfx-bsl has python 3.10 wheel.
dependsOn(":sdks:python:test-suites:direct:py39:inferencePostCommitIT")
// dependsOn(":sdks:python:test-suites:direct:py39:inferencePostCommitIT")
}

tasks.register("python310PostCommit") {
dependsOn(":sdks:python:test-suites:dataflow:py310:postCommitIT")
dependsOn(":sdks:python:test-suites:direct:py310:postCommitIT")
// dependsOn(":sdks:python:test-suites:dataflow:py310:postCommitIT")
// dependsOn(":sdks:python:test-suites:direct:py310:postCommitIT")
dependsOn(":sdks:python:test-suites:portable:py310:postCommitPy310")
// TODO: https://github.com/apache/beam/issues/22651
// The default container uses Python 3.10. The goal here is to
// duild Docker images for TensorRT tests during run time for python versions
// other than 3.10 and add these tests in other python postcommit suites.
dependsOn(":sdks:python:test-suites:dataflow:py310:inferencePostCommitIT")
// dependsOn(":sdks:python:test-suites:dataflow:py310:inferencePostCommitIT")
}

tasks.register("python311PostCommit") {
dependsOn(":sdks:python:test-suites:dataflow:py311:postCommitIT")
dependsOn(":sdks:python:test-suites:direct:py311:postCommitIT")
dependsOn(":sdks:python:test-suites:direct:py311:hdfsIntegrationTest")
// dependsOn(":sdks:python:test-suites:dataflow:py311:postCommitIT")
// dependsOn(":sdks:python:test-suites:direct:py311:postCommitIT")
// dependsOn(":sdks:python:test-suites:direct:py311:hdfsIntegrationTest")
dependsOn(":sdks:python:test-suites:portable:py311:postCommitPy311")
}

tasks.register("python312PostCommit") {
dependsOn(":sdks:python:test-suites:dataflow:py312:postCommitIT")
dependsOn(":sdks:python:test-suites:direct:py312:postCommitIT")
dependsOn(":sdks:python:test-suites:direct:py312:hdfsIntegrationTest")
// dependsOn(":sdks:python:test-suites:dataflow:py312:postCommitIT")
// dependsOn(":sdks:python:test-suites:direct:py312:postCommitIT")
// dependsOn(":sdks:python:test-suites:direct:py312:hdfsIntegrationTest")
dependsOn(":sdks:python:test-suites:portable:py312:postCommitPy312")
dependsOn(":sdks:python:test-suites:dataflow:py312:inferencePostCommitITPy312")
// dependsOn(":sdks:python:test-suites:dataflow:py312:inferencePostCommitITPy312")
}

tasks.register("portablePythonPreCommit") {
Expand Down
17 changes: 9 additions & 8 deletions sdks/python/test-suites/portable/common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,11 @@ project.tasks.register("preCommitPy${pythonVersionSuffix}") {
project.tasks.register("postCommitPy${pythonVersionSuffix}") {
dependsOn = ['setupVirtualenv',
"postCommitPy${pythonVersionSuffix}IT",
':runners:spark:3:job-server:shadowJar',
'portableLocalRunnerJuliaSetWithSetupPy',
'portableWordCountSparkRunnerBatch',
'portableLocalRunnerTestWithRequirementsFile']
// ':runners:spark:3:job-server:shadowJar',
// 'portableLocalRunnerJuliaSetWithSetupPy',
// 'portableWordCountSparkRunnerBatch',
// 'portableLocalRunnerTestWithRequirementsFile'
]
}

project.tasks.register("flinkExamples") {
Expand Down Expand Up @@ -383,11 +384,11 @@ project.tasks.register("postCommitPy${pythonVersionSuffix}IT") {

doLast {
def tests = [
"apache_beam/io/gcp/bigquery_read_it_test.py",
"apache_beam/io/external/xlang_jdbcio_it_test.py",
"apache_beam/io/external/xlang_kafkaio_it_test.py",
// "apache_beam/io/gcp/bigquery_read_it_test.py",
// "apache_beam/io/external/xlang_jdbcio_it_test.py",
// "apache_beam/io/external/xlang_kafkaio_it_test.py",
"apache_beam/io/external/xlang_kinesisio_it_test.py",
"apache_beam/io/external/xlang_debeziumio_it_test.py",
// "apache_beam/io/external/xlang_debeziumio_it_test.py",
]
def testOpts = ["${tests.join(' ')}"] + ["--log-cli-level=INFO"]
def pipelineOpts = [
Expand Down

0 comments on commit f9e617a

Please sign in to comment.