Skip to content

Commit d20accf

Browse files
Specify the shell for the runner
1 parent 2837cda commit d20accf

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/pr-e2e-tests.yaml

+4-5
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ jobs:
3030
ports:
3131
- 8080:8080
3232
- 50051:50051
33-
options: >-
34-
--health-cmd "curl -f localhost:8080/v1/.well-known/ready"
35-
--health-interval 15s
36-
--health-retries 10
37-
--health-start-period 5s
3833
t2v-transformers:
3934
image: cr.weaviate.io/semitechnologies/transformers-inference:sentence-transformers-all-MiniLM-L6-v2-onnx
4035
env:
@@ -71,5 +66,9 @@ jobs:
7166
run: poetry install --no-interaction
7267
- name: Install dependencies
7368
run: poetry install --with dev
69+
- name: Wait for Weaviate to start
70+
shell: bash
71+
run: |
72+
count=0; until curl -s --fail localhost:8080/v1/.well-known/ready; do ((count++)); [ $count -ge 10 ] && echo "Reached maximum retry limit" && exit 1; sleep 15; done
7473
- name: Run tests
7574
run: poetry run pytest ./tests/e2e

0 commit comments

Comments
 (0)