Skip to content

Commit ee642e1

Browse files
committed
slightly reworked cluster tests neo4j 5
1 parent 579cad4 commit ee642e1

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.github/workflows/integration-test-cluster-neo4j-5.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,27 @@ jobs:
1515
CONNECTION: neo4j://neo4j:testtest@localhost:7688
1616
name: "Running on PHP 8.0 with a Neo4j 5.5 cluster"
1717

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+
1839
services:
1940
server1:
2041
image: neo4j:5.5
@@ -27,7 +48,7 @@ jobs:
2748
NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
2849
NEO4j_server_bolt_advertised_address=localhost:7688
2950
NEO4j_server_http_advertised_address=localhost:7478
30-
NEO4J_AUTH=neo4j/mypassword
51+
NEO4J_AUTH=neo4j/testtest
3152
options: >-
3253
--health-cmd "wget -q --method=HEAD http://localhost:7474 || exit 1"
3354
--health-start-period "60s"
@@ -45,7 +66,7 @@ jobs:
4566
NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
4667
NEO4j_server_bolt_advertised_address=localhost:7689
4768
NEO4j_server_http_advertised_address=server2:7476
48-
NEO4J_AUTH=neo4j/mypassword
69+
NEO4J_AUTH=neo4j/testtest
4970
options: >-
5071
--health-cmd "wget -q --method=HEAD http://localhost:7474 || exit 1"
5172
--health-start-period "60s"
@@ -63,7 +84,7 @@ jobs:
6384
NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
6485
NEO4j_server_bolt_advertised_address=localhost:7690
6586
NEO4j_server_http_advertised_address=server3:7477
66-
NEO4J_AUTH=neo4j/mypassword
87+
NEO4J_AUTH=neo4j/testtest
6788
options: >-
6889
--health-cmd "wget -q --method=HEAD http://localhost:7474 || exit 1"
6990
--health-start-period "60s"
@@ -81,31 +102,10 @@ jobs:
81102
NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
82103
NEO4j_server_bolt_advertised_address=localhost:7691
83104
NEO4j_server_http_advertised_address=localhost:7478
84-
NEO4J_AUTH=neo4j/mypassword
105+
NEO4J_AUTH=neo4j/testtest
85106
options: >-
86107
--health-cmd "wget -q --method=HEAD http://localhost:7474 || exit 1"
87108
--health-start-period "60s"
88109
--health-interval "30s"
89110
--health-timeout "15s"
90111
--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

Comments
 (0)