[DNM] upgrade jdbc #759
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: Spark Connector Integration Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master, test_main ] | |
jobs: | |
test: | |
name: IT | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
scala_version: [ '2.12.11' ] | |
spark_version: [ '3.1.1' ] | |
use_copy_unload: [ 'false' ] | |
cloud_provider: [ 'gcp' ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Decrypt snowflake.json for testing | |
run: ./.github/scripts/decrypt_secret.sh snowflake.travis.json snowflake.travis.json.gpg | |
env: | |
SNOWFLAKE_TEST_CONFIG_SECRET: ${{ secrets.SNOWFLAKE_TEST_CONFIG_SECRET }} | |
- name: Run tests | |
run: ./.github/scripts/run-tests-github.sh | |
env: | |
INTEGRATION_TESTS: true | |
SPARK_SCALA_VERSION: ${{ matrix.scala_version }} | |
SPARK_VERSION: ${{ matrix.spark_version }} | |
SNOWFLAKE_TEST_ACCOUNT: ${{ matrix.cloud_provider }} | |
SPARK_CONN_ENV_USE_COPY_UNLOAD: ${{ matrix.use_copy_unload }} | |
- uses: codecov/codecov-action@v1 | |
if: matrix.use_copy_unload != 'true' || matrix.cloud_provider != 'gcp' | |
with: | |
fail_ci_if_error: true |