15
15
CONNECTION : neo4j://neo4j:testtest@localhost:7688
16
16
name : " Running on PHP 8.0 with a Neo4j 5.5 cluster"
17
17
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - name : Cache Composer dependencies
21
+ uses : actions/cache@v2
22
+ with :
23
+ path : /tmp/composer-cache
24
+ key : ${{ runner.os }}-8.0-${{ hashFiles('**/composer.lock') }}
25
+ - uses : php-actions/composer@v6
26
+ with :
27
+ progress : yes
28
+ php_version : 8.0
29
+ version : 2
30
+ - uses : php-actions/phpunit@v3
31
+ with :
32
+ configuration : phpunit.xml.dist
33
+ php_version : 8.0
34
+ memory_limit : 1024M
35
+ version : 9
36
+ testsuite : Integration
37
+ bootstrap : vendor/autoload.php
38
+
18
39
services :
19
40
server1 :
20
41
image : neo4j:5.5
27
48
NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
28
49
NEO4j_server_bolt_advertised_address=localhost:7688
29
50
NEO4j_server_http_advertised_address=localhost:7478
30
- NEO4J_AUTH=neo4j/mypassword
51
+ NEO4J_AUTH=neo4j/testtest
31
52
options : >-
32
53
--health-cmd "wget -q --method=HEAD http://localhost:7474 || exit 1"
33
54
--health-start-period "60s"
45
66
NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
46
67
NEO4j_server_bolt_advertised_address=localhost:7689
47
68
NEO4j_server_http_advertised_address=server2:7476
48
- NEO4J_AUTH=neo4j/mypassword
69
+ NEO4J_AUTH=neo4j/testtest
49
70
options : >-
50
71
--health-cmd "wget -q --method=HEAD http://localhost:7474 || exit 1"
51
72
--health-start-period "60s"
63
84
NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
64
85
NEO4j_server_bolt_advertised_address=localhost:7690
65
86
NEO4j_server_http_advertised_address=server3:7477
66
- NEO4J_AUTH=neo4j/mypassword
87
+ NEO4J_AUTH=neo4j/testtest
67
88
options : >-
68
89
--health-cmd "wget -q --method=HEAD http://localhost:7474 || exit 1"
69
90
--health-start-period "60s"
@@ -81,31 +102,10 @@ jobs:
81
102
NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
82
103
NEO4j_server_bolt_advertised_address=localhost:7691
83
104
NEO4j_server_http_advertised_address=localhost:7478
84
- NEO4J_AUTH=neo4j/mypassword
105
+ NEO4J_AUTH=neo4j/testtest
85
106
options : >-
86
107
--health-cmd "wget -q --method=HEAD http://localhost:7474 || exit 1"
87
108
--health-start-period "60s"
88
109
--health-interval "30s"
89
110
--health-timeout "15s"
90
111
--health-retries "5"
91
-
92
- steps :
93
- - uses : actions/checkout@v2
94
- - name : Cache Composer dependencies
95
- uses : actions/cache@v2
96
- with :
97
- path : /tmp/composer-cache
98
- key : ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
99
- - uses : php-actions/composer@v6
100
- with :
101
- progress : yes
102
- php_version : 8.0
103
- version : 2
104
- - uses : php-actions/phpunit@v3
105
- with :
106
- configuration : phpunit.xml.dist
107
- php_version : 8.0
108
- memory_limit : 1024M
109
- version : 9
110
- testsuite : Integration
111
- bootstrap : vendor/autoload.php
0 commit comments