-
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.
Merge remote-tracking branch 'origin' into feat/8.4-deprecations
- Loading branch information
Showing
8 changed files
with
78 additions
and
33 deletions.
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 |
---|---|---|
|
@@ -11,15 +11,20 @@ on: | |
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php: [8.1, 8.3] | ||
env: | ||
PHP_VERSION: ${{ matrix.php }} | ||
CONNECTION: neo4j://neo4j:testtest@localhost:7688 | ||
name: "Running on PHP 8.1 in a Neo4j 4.4 cluster" | ||
name: "Running on PHP ${{ matrix.php }} in a Neo4j 4.4 cluster" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Populate .env | ||
run: | | ||
echo "CONNECTION=neo4j://neo4j:testtest@neo4j" > .env | ||
echo "PHP_VERSION=${{ matrix.php }}" > .env | ||
echo "CONNECTION=neo4j://neo4j:testtest@neo4j" >> .env | ||
- uses: hoverkraft-tech/[email protected] | ||
name: Start services | ||
with: | ||
|
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 |
---|---|---|
|
@@ -11,15 +11,20 @@ on: | |
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php: [8.1, 8.3] | ||
env: | ||
PHP_VERSION: ${{ matrix.php }} | ||
CONNECTION: neo4j://neo4j:testtest@localhost:7687 | ||
name: "Running on PHP 8.1 with a Neo4j 5.20-enterprise cluster" | ||
name: "Running on PHP ${{ matrix.php }} with a Neo4j 5.20-enterprise cluster" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Populate .env | ||
run: | | ||
echo "CONNECTION=neo4j://neo4j:testtest@neo4j" > .env | ||
echo "PHP_VERSION=${{ matrix.php }}" > .env | ||
echo "CONNECTION=neo4j://neo4j:testtest@neo4j" >> .env | ||
- uses: hoverkraft-tech/[email protected] | ||
name: Start services | ||
with: | ||
|
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 |
---|---|---|
|
@@ -11,13 +11,17 @@ on: | |
jobs: | ||
tests-v4: | ||
runs-on: ubuntu-latest | ||
name: "Running on PHP 8.1 with a Neo4j 4 instance connecting over all available protocols" | ||
strategy: | ||
matrix: | ||
php: [8.1, 8.3] | ||
name: "Running on PHP ${{ matrix.php }} 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 | ||
echo "PHP_VERSION=${{ matrix.php }}" > .env | ||
echo "CONNECTION=neo4j://neo4j:testtest@neo4j" >> .env | ||
- uses: hoverkraft-tech/[email protected] | ||
name: Start services | ||
with: | ||
|
@@ -28,22 +32,35 @@ jobs: | |
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 | ||
docker compose run \ | ||
-e PHP_VERSION=${{ matrix.php }} \ | ||
-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 | ||
docker compose run \ | ||
-e PHP_VERSION=${{ matrix.php }} \ | ||
-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 | ||
docker compose run \ | ||
-e PHP_VERSION=${{ matrix.php }} \ | ||
-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" | ||
strategy: | ||
matrix: | ||
php: [8.1, 8.3] | ||
name: "Running on PHP ${{ matrix.php }} with a Neo4j 5 instance connecting over all available protocols" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Populate .env | ||
run: | | ||
echo "CONNECTION=neo4j://neo4j:testtest@neo4j" > .env | ||
echo "PHP_VERSION=${{ matrix.php }}" > .env | ||
echo "CONNECTION=neo4j://neo4j:testtest@neo4j" >> .env | ||
- uses: hoverkraft-tech/[email protected] | ||
name: Start services | ||
with: | ||
|
@@ -54,10 +71,19 @@ jobs: | |
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 | ||
docker compose run \ | ||
-e PHP_VERSION=${{ matrix.php }} \ | ||
-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 | ||
docker compose run \ | ||
-e PHP_VERSION=${{ matrix.php }} \ | ||
-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 | ||
docker compose run \ | ||
-e PHP_VERSION=${{ matrix.php }} \ | ||
-e CONNECTION=http://neo4j:testtest@neo4j \ | ||
client ./vendor/bin/phpunit -c phpunit.xml.dist --testsuite Integration |
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
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
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
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
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