You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "Abacn (via GitHub)" <gi...@apache.org> on 2023/01/23 14:56:25 UTC

[GitHub] [beam] Abacn commented on a diff in pull request #25115: Fix Python PreCommit dependency compatibility test not run or redundant setup

Abacn commented on code in PR #25115:
URL: https://github.com/apache/beam/pull/25115#discussion_r1084158880


##########
sdks/python/test-suites/tox/py38/build.gradle:
##########
@@ -36,52 +36,58 @@ testPy38Cython.mustRunAfter testPython38, testPy38CloudCoverage
 
 // TODO(BEAM-12000): Move tasks that aren't specific to 3.8 to Py 3.9.
 def posargs = project.findProperty("posargs") ?: ""
-def runDataframesTests = (posargs == "" || posargs.contains("dataframes"))
-logger.info('Running dataframes tests: ' + runDataframesTests)
+def runDataframeTests = (posargs == "" || posargs.contains("dataframe"))
+logger.info('Running dataframes tests: ' + runDataframeTests)
+
+// PyCoverage Precommit runs test suites that evaluate test coverage and compatibility of
+// particular dependencies. It is exercised on a single Python version.
+project.tasks.register("preCommitPyCoverage") {
+      dependsOn = ["testPy38CloudCoverage"]
+}
 
 // Create a test task for each major version of pyarrow
 toxTask "testPy38pyarrow-0", "py38-pyarrow-0", "${posargs}"
 test.dependsOn "testPy38pyarrow-0"
-preCommitPy38.dependsOn "testPy38pyarrow-0"
+preCommitPyCoverage.dependsOn "testPy38pyarrow-0"

Review Comment:
   thanks, moving dataframe compatibility tests into preCommitPyCoverage



-- 
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