Skip to content

Commit 365c106

Browse files
Javier Gil Avilesdepink5
authored andcommitted
Refs #23557: Add neo4j service start on test for CI
Signed-off-by: Javier Gil Aviles <[email protected]>
1 parent c479de6 commit 365c106

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,20 @@ jobs:
3737
os:
3838
- ubuntu-22.04
3939

40+
services:
41+
neo4j:
42+
image: neo4j:5.15-community
43+
env:
44+
NEO4J_AUTH: neo4j/12345678
45+
NEO4J_PLUGINS: '["apoc"]'
46+
ports:
47+
- 7687:7687
48+
options: >-
49+
--health-cmd "cypher-shell -u neo4j -p 12345678 'RETURN 1'"
50+
--health-interval 10s
51+
--health-timeout 5s
52+
--health-retries 5
53+
4054
steps:
4155
- name: Free Disk Space
4256
run: |

0 commit comments

Comments
 (0)