SNOW-1812949: return toString result for getObject called on structured types #5176
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- v* | |
pull_request: | |
branches: | |
- master | |
- prep-** | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
default: warning | |
description: "Log level" | |
required: true | |
tags: | |
description: "Test scenario tags" | |
concurrency: | |
# older builds for the same pull request numer or branch should be cancelled | |
cancel-in-progress: true | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build | |
shell: bash | |
env: | |
WHITESOURCE_API_KEY: ${{ secrets.WHITESOURCE_API_KEY }} | |
run: ./ci/build.sh | |
test-windows: | |
needs: build | |
name: ${{ matrix.runConfig.cloud }} Windows java ${{ matrix.runConfig.javaVersion }} JDBC${{ matrix.additionalMavenProfile }} ${{ matrix.category }} | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
runConfig: [ {cloud: 'AWS', javaVersion: '8'}, {cloud: 'GCP', javaVersion: '11'}, {cloud: 'AZURE', javaVersion: '17'}, {cloud: 'AWS', javaVersion: '21'}] | |
category: ['TestCategoryResultSet,TestCategoryStatement,TestCategoryLoader', 'TestCategoryOthers', 'TestCategoryArrow,TestCategoryConnection,TestCategoryCore,TestCategoryDiagnostic', 'TestCategoryFips'] | |
additionalMavenProfile: [''] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.runConfig.javaVersion }} | |
distribution: 'temurin' | |
cache: maven | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.7' | |
architecture: 'x64' | |
- name: Tests | |
shell: cmd | |
env: | |
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }} | |
CLOUD_PROVIDER: ${{ matrix.runConfig.cloud }} | |
JDBC_TEST_CATEGORY: ${{ matrix.category }} | |
ADDITIONAL_MAVEN_PROFILE: ${{ matrix.additionalMavenProfile }} | |
run: ci\\test_windows.bat | |
test-mac: | |
needs: build | |
name: ${{ matrix.runConfig.cloud }} Mac java ${{ matrix.runConfig.javaVersion }} JDBC${{ matrix.additionalMavenProfile }} ${{ matrix.category }} | |
runs-on: macos-13 | |
strategy: | |
fail-fast: false | |
matrix: | |
runConfig: [ {cloud: 'AWS', javaVersion: '8'}, {cloud: 'GCP', javaVersion: '11'}, {cloud: 'AZURE', javaVersion: '17'}, {cloud: 'AWS', javaVersion: '21'}] | |
category: ['TestCategoryResultSet,TestCategoryStatement,TestCategoryLoader', 'TestCategoryOthers', 'TestCategoryArrow,TestCategoryConnection,TestCategoryCore,TestCategoryDiagnostic', 'TestCategoryFips'] | |
additionalMavenProfile: [''] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.runConfig.javaVersion }} | |
distribution: 'temurin' | |
cache: maven | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.7' | |
- name: Install Homebrew Bash | |
shell: bash | |
run: brew install bash | |
- name: Tests | |
shell: bash | |
env: | |
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }} | |
CLOUD_PROVIDER: ${{ matrix.runConfig.cloud }} | |
JDBC_TEST_CATEGORY: ${{ matrix.category }} | |
ADDITIONAL_MAVEN_PROFILE: ${{ matrix.additionalMavenProfile }} | |
run: /usr/local/bin/bash ./ci/test_mac.sh | |
test-linux: | |
needs: build | |
name: ${{ matrix.cloud }} Linux java on ${{ matrix.image }} JDBC${{ matrix.additionalMavenProfile }} ${{ matrix.category }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
image: [ 'jdbc-centos7-openjdk8', 'jdbc-centos7-openjdk11', 'jdbc-centos7-openjdk17', 'jdbc-centos7-openjdk21' ] | |
cloud: [ 'AWS', 'AZURE', 'GCP' ] | |
category: ['TestCategoryResultSet,TestCategoryStatement,TestCategoryLoader', 'TestCategoryOthers', 'TestCategoryArrow,TestCategoryConnection,TestCategoryCore,TestCategoryDiagnostic', 'TestCategoryFips'] | |
additionalMavenProfile: ['', '-Dthin-jar'] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Tests | |
shell: bash | |
env: | |
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }} | |
CLOUD_PROVIDER: ${{ matrix.cloud }} | |
TARGET_DOCKER_TEST_IMAGE: ${{ matrix.image }} | |
JDBC_TEST_CATEGORY: ${{ matrix.category }} | |
ADDITIONAL_MAVEN_PROFILE: ${{ matrix.additionalMavenProfile }} | |
run: ./ci/test.sh | |
test-linux-old-driver: | |
name: Old JDBC ${{ matrix.category }} on ${{ matrix.image }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
image: [ 'jdbc-centos7-openjdk8' ] | |
cloud: [ 'AWS' ] | |
category: ['TestCategoryOthers', 'TestCategoryConnection,TestCategoryStatement', 'TestCategoryCore,TestCategoryLoader,TestCategoryResultSet'] | |
is_old_driver: ['true'] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Tests | |
shell: bash | |
env: | |
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }} | |
CLOUD_PROVIDER: ${{ matrix.cloud }} | |
TARGET_DOCKER_TEST_IMAGE: ${{ matrix.image }} | |
JDBC_TEST_CATEGORY: ${{ matrix.category }} | |
is_old_driver: ${{ matrix.is_old_driver }} | |
run: ./ci/test.sh |