Skip to content

Commit

Permalink
ci(snowflake): ensure that snowpark tests run in their own schema (#9253
Browse files Browse the repository at this point in the history
)
  • Loading branch information
cpcloud committed May 25, 2024
1 parent b30916e commit 8ba05c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ibis-backends-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
backend:
name: snowflake
title: Snowflake + Snowpark
key: snowflake-snowpark
key: snowpark
extras:
- snowflake
steps:
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
run: pip install 'poetry==1.8.2'

- name: install additional deps
if: matrix.backend.key == 'snowflake-snowpark'
if: matrix.backend.key == 'snowpark'
run: poetry add snowflake-snowpark-python --python="==${{ steps.install_python.outputs.python-version }}"

- name: install ibis
Expand All @@ -129,7 +129,7 @@ jobs:
echo "SNOWFLAKE_PASSWORD=${SNOWFLAKE_PASSWORD}"
echo "SNOWFLAKE_ACCOUNT=${SNOWFLAKE_ACCOUNT}"
echo "SNOWFLAKE_DATABASE=${SNOWFLAKE_DATABASE}"
echo "SNOWFLAKE_SCHEMA=${SNOWFLAKE_SCHEMA}_python${pyversion//./}"
echo "SNOWFLAKE_SCHEMA=${SNOWFLAKE_SCHEMA}_python${pyversion//./}_${{ matrix.backend.key }}"
echo "SNOWFLAKE_WAREHOUSE=${SNOWFLAKE_WAREHOUSE}"
} >> "$GITHUB_ENV"
env:
Expand All @@ -141,7 +141,7 @@ jobs:
SNOWFLAKE_WAREHOUSE: ${{ secrets.SNOWFLAKE_WAREHOUSE }}

- name: enable snowpark testing
if: matrix.backend.key == 'snowflake-snowpark'
if: matrix.backend.key == 'snowpark'
run: echo "SNOWFLAKE_SNOWPARK=1" >> "$GITHUB_ENV"

- name: "run parallel tests: ${{ matrix.backend.name }}"
Expand Down

0 comments on commit 8ba05c8

Please sign in to comment.