Skip to content

Commit 134f177

Browse files
author
Kyle Weaver
committed
[BEAM-10527] Migrate Flink and Spark tests to pytest.
1 parent 4161140 commit 134f177

File tree

9 files changed

+628
-600
lines changed

9 files changed

+628
-600
lines changed

buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,7 +2044,7 @@ class BeamModulePlugin implements Plugin<Project> {
20442044
return argList.join(' ')
20452045
}
20462046

2047-
project.ext.toxTask = { name, tox_env ->
2047+
project.ext.toxTask = { name, tox_env, posargs='' ->
20482048
project.tasks.create(name) {
20492049
dependsOn 'setupVirtualenv'
20502050
dependsOn ':sdks:python:sdist'
@@ -2059,7 +2059,7 @@ class BeamModulePlugin implements Plugin<Project> {
20592059
def distTarBall = "${pythonRootDir}/build/apache-beam.tar.gz"
20602060
project.exec {
20612061
executable 'sh'
2062-
args '-c', ". ${project.ext.envdir}/bin/activate && cd ${copiedPyRoot} && scripts/run_tox.sh $tox_env $distTarBall"
2062+
args '-c', ". ${project.ext.envdir}/bin/activate && cd ${copiedPyRoot} && scripts/run_tox.sh $tox_env $distTarBall '$posargs'"
20632063
}
20642064
}
20652065
inputs.files project.pythonSdkDeps

0 commit comments

Comments
 (0)