Skip to content

Commit

Permalink
Applying PR suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jmartinezramirez committed Jun 12, 2024
1 parent ce82956 commit 99a2167
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Empty file.
6 changes: 0 additions & 6 deletions ci/test_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
39 changes: 39 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1203,6 +1203,42 @@
<os>
<family>!windows</family>
</os>
<property>
<name>!thin-jar</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>${version.plugin.exec}</version>
<executions>
<execution>
<id>check-shaded-content</id>
<goals>
<goal>exec</goal>
</goals>
<phase>verify</phase>
<configuration>
<executable>${basedir}/ci/scripts/check_content.sh</executable>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>check-content-thin</id>
<activation>
<os>
<family>!windows</family>
</os>
<property>
<name>thin-jar</name>
</property>
</activation>
<build>
<plugins>
Expand All @@ -1219,6 +1255,9 @@
<phase>verify</phase>
<configuration>
<executable>${basedir}/ci/scripts/check_content.sh</executable>
<arguments>
<argument>-thin</argument>
</arguments>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 99a2167

Please sign in to comment.