Skip to content

Commit 295c01b

Browse files
committed
Add CI for Go integration tests
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
1 parent a98534b commit 295c01b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/pr_integration_tests.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
docker push $ECR_REGISTRY/$ECR_REPOSITORY:${{ steps.image-tag.outputs.DOCKER_IMAGE_TAG }}
7171
outputs:
7272
DOCKER_IMAGE_TAG: ${{ steps.image-tag.outputs.DOCKER_IMAGE_TAG }}
73-
integration-test-python:
73+
integration-test-python-and-go:
7474
# all jobs MUST have this if check for 'ok-to-test' or 'approved' for security purposes.
7575
if: (github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'ok-to-test'))
7676
|| (github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved')))
@@ -166,3 +166,14 @@ jobs:
166166
env_vars: OS,PYTHON
167167
fail_ci_if_error: true
168168
verbose: true
169+
- name: Test go
170+
if: ${{ always() }} # this will guarantee that step won't be canceled and resources won't leak
171+
env:
172+
FEAST_USAGE: "False"
173+
IS_TEST: "True"
174+
SNOWFLAKE_CI_DEPLOYMENT: ${{ secrets.SNOWFLAKE_CI_DEPLOYMENT }}
175+
SNOWFLAKE_CI_USER: ${{ secrets.SNOWFLAKE_CI_USER }}
176+
SNOWFLAKE_CI_PASSWORD: ${{ secrets.SNOWFLAKE_CI_PASSWORD }}
177+
SNOWFLAKE_CI_ROLE: ${{ secrets.SNOWFLAKE_CI_ROLE }}
178+
SNOWFLAKE_CI_WAREHOUSE: ${{ secrets.SNOWFLAKE_CI_WAREHOUSE }}
179+
run: pytest -n 8 --cov=./ --cov-report=xml --verbose --color=yes sdk/python/tests --integration --goserver --durations=5

0 commit comments

Comments
 (0)