World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[Improvement] test(python-client): Use skipTests parameter to skip unit tests of python client (#3960)
bknbkn1eeeedb31ffd
diff --git a/clients/client-python/build.gradle.kts b/clients/client-python/build.gradle.ktsindex 9d14437afc..4813066c72 100644--- a/clients/client-python/build.gradle.kts+++ b/clients/client-python/build.gradle.kts@@ -195,12 +195,18 @@ tasks {}val test by registering(VenvTask::class) {- dependsOn(pipInstall, pylint, unitTests)-+ val skipUTs = project.hasProperty("skipTests")val skipPyClientITs = project.hasProperty("skipPyClientITs")val skipITs = project.hasProperty("skipITs")- if (!skipITs && !skipPyClientITs) {- dependsOn(integrationTest)+ val skipAllTests = skipUTs && (skipITs || skipPyClientITs)+ if (!skipAllTests) {+ dependsOn(pipInstall, pylint)+ if (!skipUTs) {+ dependsOn(unitTests)+ }+ if (!skipITs && !skipPyClientITs) {+ dependsOn(integrationTest)+ }}}