Skip to content

Commit

Permalink
feat: Add CI for all protocols for Neo4J v4
Browse files Browse the repository at this point in the history
  • Loading branch information
exaby73 committed Oct 9, 2024
1 parent d79a76f commit 17725dc
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/integration-test-single-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,32 @@ on:
- main

jobs:
tests:
tests-v4:
runs-on: ubuntu-latest
name: "Running on PHP 8.1 with a Neo4j 4 instance connecting over all available protocols"

steps:
- uses: actions/checkout@v2
- name: Populate .env
run: |
echo "CONNECTION=neo4j://neo4j:testtest@neo4j" > .env
- uses: hoverkraft-tech/[email protected]
with:
compose-file: './docker-compose-neo4j-4.yml'
up-flags: '--build'
- name: Composer install
run: |
docker compose run client composer install
- name: Test neo4j://
run: |
docker compose run -e CONNECTION=neo4j://neo4j:testtest@neo4j client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration
- name: Test bolt://
run: |
docker compose run -e CONNECTION=bolt://neo4j:testtest@neo4j client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration
- name: Test http://
run: |
docker compose run -e CONNECTION=http://neo4j:testtest@neo4j client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration
tests-v5:
runs-on: ubuntu-latest
name: "Running on PHP 8.1 with a Neo4j 5 instance connecting over all available protocols"

Expand Down

0 comments on commit 17725dc

Please sign in to comment.