Skip to content

Commit ccb3207

Browse files
exaby73transistive
authored andcommitted
feat: Add CI for all protocols for Neo4J v4
1 parent fd8d017 commit ccb3207

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

.github/workflows/integration-test-single-server.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,32 @@ on:
99
- main
1010

1111
jobs:
12-
tests:
12+
tests-v4:
13+
runs-on: ubuntu-latest
14+
name: "Running on PHP 8.1 with a Neo4j 4 instance connecting over all available protocols"
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Populate .env
19+
run: |
20+
echo "CONNECTION=neo4j://neo4j:testtest@neo4j" > .env
21+
- uses: hoverkraft-tech/[email protected]
22+
with:
23+
compose-file: './docker-compose-neo4j-4.yml'
24+
up-flags: '--build'
25+
- name: Composer install
26+
run: |
27+
docker compose run client composer install
28+
- name: Test neo4j://
29+
run: |
30+
docker compose run -e CONNECTION=neo4j://neo4j:testtest@neo4j client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration
31+
- name: Test bolt://
32+
run: |
33+
docker compose run -e CONNECTION=bolt://neo4j:testtest@neo4j client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration
34+
- name: Test http://
35+
run: |
36+
docker compose run -e CONNECTION=http://neo4j:testtest@neo4j client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration
37+
tests-v5:
1338
runs-on: ubuntu-latest
1439
name: "Running on PHP 8.1 with a Neo4j 5 instance connecting over all available protocols"
1540

0 commit comments

Comments
 (0)