diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 91b159d2037aad..833caa7f7dad1d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -782,6 +782,24 @@ jobs:
if: matrix.modules == 'plugin/trino-bigquery' && !contains(matrix.profile, 'cloud-tests-arrow-and-fte') && (env.CI_SKIP_SECRETS_PRESENCE_CHECKS != '' || env.BIGQUERY_CASE_INSENSITIVE_CREDENTIALS_KEY != '')
run: |
$MAVEN test ${MAVEN_TEST} -pl :trino-bigquery -Pcloud-tests-case-insensitive-mapping -Dbigquery.credentials-key="${BIGQUERY_CASE_INSENSITIVE_CREDENTIALS_KEY}"
+ - name: Cloud Snowflake Tests
+ env:
+ SNOWFLAKE_TEST_SERVER_URL: ${{ env.SNOWFLAKE_TEST_SERVER_URL }}
+ SNOWFLAKE_TEST_SERVER_USER: ${{ env.SNOWFLAKE_TEST_SERVER_USER }}
+ SNOWFLAKE_TEST_SERVER_PASSWORD: ${{ env.SNOWFLAKE_TEST_SERVER_PASSWORD }}
+ SNOWFLAKE_TEST_SERVER_DATABASE: ${{ env.SNOWFLAKE_TEST_SERVER_DATABASE }}
+ SNOWFLAKE_TEST_SERVER_ROLE: ${{ env.SNOWFLAKE_TEST_SERVER_ROLE }}
+ SNOWFLAKE_TEST_SERVER_WAREHOUSE: ${{ env.SNOWFLAKE_TEST_SERVER_WAREHOUSE }}
+ if: matrix.modules == 'plugin/trino-snowflake' && !contains(matrix.profile, 'cloud-tests') && (env.SNOWFLAKE_TEST_SERVER_URL != '' && env.SNOWFLAKE_TEST_SERVER_USER != '' && env.SNOWFLAKE_TEST_SERVER_PASSWORD != '')
+ run: |
+ $MAVEN test ${MAVEN_TEST} -pl :trino-snowflake -Pcloud-tests \
+ -Dconnector.name="snowflake" \
+ -Dsnowflake.test.server.url="${SNOWFLAKE_TEST_SERVER_URL}" \
+ -Dsnowflake.test.server.user="${SNOWFLAKE_TEST_SERVER_USER}" \
+ -Dsnowflake.test.server.password="${SNOWFLAKE_TEST_SERVER_PASSWORD}" \
+ -Dsnowflake.test.server.database="${SNOWFLAKE_TEST_SERVER_DATABASE}" \
+ -Dsnowflake.test.server.role="${SNOWFLAKE_TEST_SERVER_ROLE}" \
+ -Dsnowflake.test.server.warehouse="${SNOWFLAKE_TEST_SERVER_WAREHOUSE}"
- name: Iceberg Cloud Tests
env:
AWS_ACCESS_KEY_ID: ${{ secrets.TRINO_AWS_ACCESS_KEY_ID }}
diff --git a/plugin/trino-snowflake/pom.xml b/plugin/trino-snowflake/pom.xml
index 09a3f4948d17d9..33f14d2a93990a 100644
--- a/plugin/trino-snowflake/pom.xml
+++ b/plugin/trino-snowflake/pom.xml
@@ -199,8 +199,6 @@
maven-surefire-plugin
- **/TestSnowflakeClient.java
- **/TestSnowflakeConfig.java
**/TestSnowflakeConnectorTest.java
**/TestSnowflakePlugin.java
**/TestSnowflakeTypeMapping.java