11
11
runs-on : ubuntu-latest
12
12
strategy :
13
13
matrix :
14
- php : [' 8.1.31', ' 8.3.17' ]
14
+ php : [" 8.1.31", " 8.3.17" ]
15
15
name : " Running on PHP ${{ matrix.php }} with a Neo4j 4 instance connecting over all available protocols"
16
16
17
17
steps :
@@ -23,28 +23,28 @@ jobs:
23
23
-
uses :
hoverkraft-tech/[email protected]
24
24
name : Start services
25
25
with :
26
- compose-file : ' ./docker-compose-neo4j-4.yml'
27
- up-flags : ' --build --remove-orphans'
26
+ compose-file : " ./docker-compose-neo4j-4.yml"
27
+ up-flags : " --build --remove-orphans"
28
28
- name : Composer install
29
29
run : |
30
- docker compose run client composer install
30
+ docker compose -f docker-compose-neo4j-4.yml run client composer install
31
31
- name : Test neo4j://
32
32
run : |
33
- docker compose run \
33
+ docker compose -f docker-compose-neo4j-4.yml run \
34
34
-e PHP_VERSION=${{ matrix.php }} \
35
35
-e CONNECTION=neo4j://neo4j:testtest@neo4j \
36
36
client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration
37
37
- name : Test bolt://
38
38
run : |
39
- docker compose run \
39
+ docker compose -f docker-compose-neo4j-4.yml run \
40
40
-e PHP_VERSION=${{ matrix.php }} \
41
41
-e CONNECTION=bolt://neo4j:testtest@neo4j \
42
42
client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration
43
43
tests-v5 :
44
44
runs-on : ubuntu-latest
45
45
strategy :
46
46
matrix :
47
- php : [' 8.1.31', ' 8.3.17' ]
47
+ php : [" 8.1.31", " 8.3.17" ]
48
48
name : " Running on PHP ${{ matrix.php }} with a Neo4j 5 instance connecting over all available protocols"
49
49
50
50
steps :
56
56
-
uses :
hoverkraft-tech/[email protected]
57
57
name : Start services
58
58
with :
59
- compose-file : ' ./docker-compose.yml'
60
- up-flags : ' --build'
59
+ compose-file : " ./docker-compose.yml"
60
+ up-flags : " --build"
61
61
- name : Composer install
62
62
run : |
63
63
docker compose run --rm client composer install
0 commit comments