Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,30 @@ presubmits:
- image: golang:1.13
command: ["infra/scripts/test-golang-sdk.sh"]

- name: python-sdk-integration-test
decorate: true
always_run: true
spec:
containers:
- image: gcr.io/kf-feast/feast-ci:latest
command: ["infra/scripts/test-integration.sh"]
resources:
requests:
cpu: "1"
memory: "3072Mi"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/gcloud/service-account.json
volumeMounts:
- mountPath: /etc/gcloud/service-account.json
name: service-account
readOnly: true
subPath: service-account.json
volumes:
- name: service-account
secret:
secretName: feast-service-account

- name: test-end-to-end
decorate: true
always_run: true
Expand Down
7 changes: 7 additions & 0 deletions infra/scripts/test-integration.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

python -m pip install --upgrade pip setuptools wheel
make install-python
python -m pip install -qr tests/requirements.txt

pytest tests/integration/
Empty file added tests/integration/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def pytest_addoption(parser):
pass