diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index c9e366bf7..13df89ba0 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -43,7 +43,7 @@ jobs: test-windows: needs: build - name: ${{ matrix.cloud }} JDBC${{ matrix.additionalMavenProfile }} ${{ matrix.category }} / Test on Windows(java ${{ matrix.javaVersion }}, ${{ matrix.cloud }} ) + name: ${{ matrix.cloud }} Windows java ${{ matrix.javaVersion }} JDBC${{ matrix.additionalMavenProfile }} ${{ matrix.category }} runs-on: windows-latest strategy: fail-fast: false @@ -79,7 +79,7 @@ jobs: test-mac: needs: build - name: ${{ matrix.cloud }} JDBC${{ matrix.additionalMavenProfile }} ${{ matrix.category }} / Test on Mac(java ${{ matrix.javaVersion }}, ${{ matrix.cloud }} ) + name: ${{ matrix.cloud }} Mac java ${{ matrix.javaVersion }} JDBC${{ matrix.additionalMavenProfile }} ${{ matrix.category }} runs-on: macos-13 strategy: fail-fast: false @@ -112,7 +112,7 @@ jobs: test-linux: needs: build - name: ${{ matrix.cloud }} JDBC${{ matrix.additionalMavenProfile }} ${{ matrix.category }} on ${{ matrix.image }} + name: ${{ matrix.cloud }} Linux java on ${{ matrix.image }} JDBC${{ matrix.additionalMavenProfile }} ${{ matrix.category }} runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/FIPS/src/test/java/net/snowflake/client/RunningOnWinMac.java b/FIPS/src/test/java/net/snowflake/client/RunningOnWinMac.java new file mode 100644 index 000000000..e69de29bb diff --git a/ci/test_windows.bat b/ci/test_windows.bat index 0e0a1148c..4f32f7564 100644 --- a/ci/test_windows.bat +++ b/ci/test_windows.bat @@ -3,7 +3,6 @@ REM Tests JDBC Driver on Windows REM setlocal setlocal EnableDelayedExpansion -set TIMEOUT=90000 python -m venv venv call venv\scripts\activate pip install -U snowflake-connector-python @@ -53,11 +52,6 @@ pushd %GITHUB_WORKSPACE%\ci\container python create_schema.py popd -echo [INFO] Installing Snowflake JDBC Driver -copy %GITHUB_WORKSPACE%\artifacts\* . - -REM add steps to jdbc driver - REM setup log set CLIENT_LOG_DIR_PATH=%GITHUB_WORKSPACE%\jenkins_rt_logs diff --git a/pom.xml b/pom.xml index b8cd5edf8..19b5ad10e 100644 --- a/pom.xml +++ b/pom.xml @@ -1203,6 +1203,42 @@ !windows + + !thin-jar + + + + + + org.codehaus.mojo + exec-maven-plugin + ${version.plugin.exec} + + + check-shaded-content + + exec + + verify + + ${basedir}/ci/scripts/check_content.sh + + + + + + + + + + check-content-thin + + + !windows + + + thin-jar + @@ -1219,6 +1255,9 @@ verify ${basedir}/ci/scripts/check_content.sh + + -thin +