Skip to content

Commit 4c2eb87

Browse files
committed
add initial test setup running against LocalStack Snowflake
1 parent 5e61c94 commit 4c2eb87

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@v3
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:
@@ -124,7 +126,8 @@ jobs:
124126
download_name: macosx_x86_64
125127
- image_name: windows-2019
126128
download_name: win_amd64
127-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
129+
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
130+
python-version: ["3.11"]
128131
cloud-provider: [aws, azure, gcp]
129132
steps:
130133
- uses: actions/checkout@v3
@@ -134,6 +137,15 @@ jobs:
134137
python-version: ${{ matrix.python-version }}
135138
- name: Display Python version
136139
run: python -c "import sys; print(sys.version)"
140+
141+
- name: Start up LocalStack Snowflake
142+
env:
143+
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
144+
run: |
145+
docker pull localstack/snowflake &
146+
pip install localstack
147+
IMAGE_NAME=localstack/snowflake DEBUG=1 localstack start -d
148+
137149
- name: Setup parameters file
138150
shell: bash
139151
env:
@@ -289,7 +301,8 @@ jobs:
289301
strategy:
290302
fail-fast: false
291303
matrix:
292-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
304+
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
305+
python-version: ["3.11"]
293306
cloud-provider: [aws]
294307
steps:
295308
- name: Set shortver

0 commit comments

Comments
 (0)