-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add CI for all protocols for Neo4J v4
- Loading branch information
Showing
1 changed file
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
||
|