Skip to content

Commit 3d3f806

Browse files
committed
Add redis service to pr_integration_tests
Signed-off-by: Jacob Klegar <jacob@tecton.ai>
1 parent c674bea commit 3d3f806

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/pr_integration_tests.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ jobs:
1414
|| (github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved')))
1515
runs-on: ubuntu-latest
1616
container: python:3.7
17+
services:
18+
redis:
19+
image: redis
20+
options: >-
21+
--health-cmd "redis-cli ping"
22+
--health-interval 10s
23+
--health-timeout 5s
24+
--health-retries 5
1725
steps:
1826
- uses: actions/checkout@v2
1927
with:
@@ -34,3 +42,6 @@ jobs:
3442
run: make install-python-ci-dependencies
3543
- name: Test python
3644
run: FEAST_TELEMETRY=False pytest --verbose --color=yes sdk/python/tests --integration
45+
env:
46+
REDIS_TYPE: REDIS
47+
REDIS_CONNECTION_STRING: redis:6379,db=0

0 commit comments

Comments
 (0)