nastra commented on code in PR #7004:
URL: https://github.com/apache/iceberg/pull/7004#discussion_r1126050242
##########
build.gradle:
##########
@@ -834,6 +839,21 @@ project(':iceberg-snowflake') {
runtimeOnly("net.snowflake:snowflake-jdbc")
testImplementation project(path: ':iceberg-core', configuration:
'testArtifacts')
+ integrationImplementation("net.snowflake:snowflake-jdbc")
+ }
+
+ sourceSets {
+ integration {
+ java.srcDir "$projectDir/src/integration/java"
+ resources.srcDir "$projectDir/src/integration/resources"
+ compileClasspath += main.output + test.output
+ runtimeClasspath += main.output + test.output
+ }
+ }
+
+ task integrationTest(type: Test) {
+ testClassesDirs = sourceSets.integration.output.classesDirs
+ classpath = sourceSets.integration.runtimeClasspath
Review Comment:
this also requires `check.dependsOn integrationTest` below L857, otherwise
integration tests are never running as part of CI
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]