Skip to content

Commit 469151e

Browse files
Specify the shell for the runner
1 parent c24227e commit 469151e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

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

+4-6
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,10 @@ jobs:
3030
ports:
3131
- 8080:8080
3232
- 50051:50051
33-
options: >-
34-
--health-cmd "curl -f localhost:8080/v1/.well-known/ready"
35-
--health-retries 20
3633
t2v-transformers:
3734
image: cr.weaviate.io/semitechnologies/transformers-inference:sentence-transformers-all-MiniLM-L6-v2-onnx
3835
env:
3936
ENABLE_CUDA: '0'
40-
options: >-
41-
--health-cmd "curl -f localhost:8080/v1/.well-known/ready"
42-
--health-retries 20
4337
neo4j:
4438
image: neo4j:${{ matrix.neo4j-version }}-${{ matrix.neo4j-edition }}
4539
env:
@@ -72,5 +66,9 @@ jobs:
7266
run: poetry install --no-interaction
7367
- name: Install dependencies
7468
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
7573
- name: Run tests
7674
run: poetry run pytest ./tests/e2e

0 commit comments

Comments
 (0)