1111jobs :
1212  tests-v4 :
1313    runs-on : ubuntu-latest 
14+     strategy :
15+       matrix :
16+         php : [8.1, 8.3] 
1417    name : " Running on PHP 8.1 with a Neo4j 4 instance connecting over all available protocols" 
1518
1619    steps :
1720      - uses : actions/checkout@v2 
18-       - name : Populate .env 
19-         run : | 
20-           echo "CONNECTION=neo4j://neo4j:testtest@neo4j" > .env 
2121      - 
uses : 
hoverkraft-tech/[email protected]  2222        name : Start services 
2323        with :
@@ -28,22 +28,31 @@ jobs:
2828          docker compose run client composer install 
2929name : Test neo4j:// 
3030        run : | 
31-           docker compose run -e CONNECTION=neo4j://neo4j:testtest@neo4j client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration 
31+           docker compose run \ 
32+             -e PHP_VERSION=${{ matrix.php }} \ 
33+             -e CONNECTION=neo4j://neo4j:testtest@neo4j \ 
34+             client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration 
3235name : Test bolt:// 
3336        run : | 
34-           docker compose run -e CONNECTION=bolt://neo4j:testtest@neo4j client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration 
37+           docker compose run \ 
38+             -e PHP_VERSION=${{ matrix.php }} \ 
39+             -e CONNECTION=bolt://neo4j:testtest@neo4j \ 
40+             client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration 
3541name : Test http:// 
3642        run : | 
37-           docker compose run -e CONNECTION=http://neo4j:testtest@neo4j client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration 
43+           docker compose run \ 
44+             -e PHP_VERSION=${{ matrix.php }} \ 
45+             -e CONNECTION=http://neo4j:testtest@neo4j \ 
46+             client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration 
3847tests-v5 :
3948    runs-on : ubuntu-latest 
49+     strategy :
50+       matrix :
51+         php : [8.1, 8.3] 
4052    name : " Running on PHP 8.1 with a Neo4j 5 instance connecting over all available protocols" 
4153
4254    steps :
4355      - uses : actions/checkout@v2 
44-       - name : Populate .env 
45-         run : | 
46-           echo "CONNECTION=neo4j://neo4j:testtest@neo4j" > .env 
4756      - 
uses : 
hoverkraft-tech/[email protected]  4857        name : Start services 
4958        with :
@@ -54,10 +63,19 @@ jobs:
5463          docker compose run client composer install 
5564name : Test neo4j:// 
5665        run : | 
57-           docker compose run -e CONNECTION=neo4j://neo4j:testtest@neo4j client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration 
66+           docker compose run \ 
67+             -e PHP_VERSION=${{ matrix.php }} \ 
68+             -e CONNECTION=neo4j://neo4j:testtest@neo4j \ 
69+             client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration 
5870name : Test bolt:// 
5971        run : | 
60-           docker compose run -e CONNECTION=bolt://neo4j:testtest@neo4j client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration 
72+           docker compose run \ 
73+             -e PHP_VERSION=${{ matrix.php }} \ 
74+             -e CONNECTION=bolt://neo4j:testtest@neo4j \ 
75+             client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration 
6176name : Test http:// 
6277        run : | 
63-           docker compose run -e CONNECTION=http://neo4j:testtest@neo4j client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration 
78+           docker compose run \ 
79+             -e PHP_VERSION=${{ matrix.php }} \ 
80+             -e CONNECTION=http://neo4j:testtest@neo4j \ 
81+             client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration 
0 commit comments