Skip to content

Commit b7c3a9c

Browse files
committed
add initial test setup running against LocalStack Snowflake
1 parent 3c82559 commit b7c3a9c

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/build_test.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ jobs:
5151
runs-on: ubuntu-latest
5252
strategy:
5353
matrix:
54-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
54+
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
55+
python-version: ["3.11"]
5556
steps:
5657
- uses: actions/checkout@v4
5758
- name: Set up Python
@@ -80,7 +81,8 @@ jobs:
8081
id: macosx_x86_64
8182
- image: macos-latest
8283
id: macosx_arm64
83-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
84+
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
85+
python-version: ["3.11"]
8486
name: Build ${{ matrix.os.id }}-py${{ matrix.python-version }}
8587
runs-on: ${{ matrix.os.image }}
8688
steps:
@@ -125,7 +127,8 @@ jobs:
125127
download_name: macosx_x86_64
126128
- image_name: windows-2019
127129
download_name: win_amd64
128-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
130+
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
131+
python-version: ["3.11"]
129132
cloud-provider: [aws, azure, gcp]
130133
steps:
131134
- uses: actions/checkout@v4
@@ -135,6 +138,15 @@ jobs:
135138
python-version: ${{ matrix.python-version }}
136139
- name: Display Python version
137140
run: python -c "import sys; print(sys.version)"
141+
142+
- name: Start up LocalStack Snowflake
143+
env:
144+
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
145+
run: |
146+
docker pull localstack/snowflake &
147+
pip install localstack
148+
IMAGE_NAME=localstack/snowflake DEBUG=1 localstack start -d
149+
138150
- name: Setup parameters file
139151
shell: bash
140152
env:
@@ -292,7 +304,8 @@ jobs:
292304
strategy:
293305
fail-fast: false
294306
matrix:
295-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
307+
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
308+
python-version: ["3.11"]
296309
cloud-provider: [aws]
297310
steps:
298311
- name: Set shortver

0 commit comments

Comments
 (0)