File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,10 @@ jobs:
30
30
ports :
31
31
- 8080:8080
32
32
- 50051:50051
33
- options : >-
34
- --health-cmd "curl -f localhost:8080/v1/.well-known/ready"
35
- --health-retries 20
36
33
t2v-transformers :
37
34
image : cr.weaviate.io/semitechnologies/transformers-inference:sentence-transformers-all-MiniLM-L6-v2-onnx
38
35
env :
39
36
ENABLE_CUDA : ' 0'
40
- options : >-
41
- --health-cmd "curl -f localhost:8080/v1/.well-known/ready"
42
- --health-retries 20
43
37
neo4j :
44
38
image : neo4j:${{ matrix.neo4j-version }}-${{ matrix.neo4j-edition }}
45
39
env :
72
66
run : poetry install --no-interaction
73
67
- name : Install dependencies
74
68
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
75
73
- name : Run tests
76
74
run : poetry run pytest ./tests/e2e
You can’t perform that action at this time.
0 commit comments