From aab723ac8b3cfb64180dbb2ac13097c20e6278d3 Mon Sep 17 00:00:00 2001 From: exaby73 Date: Wed, 4 Sep 2024 16:57:15 +0530 Subject: [PATCH 01/12] ci: Update integration tests to 8.3 and run unit tests in matrix in 8.1, 8.2 and 8.3 --- .github/workflows/integration-test-cluster-neo4j-4.yml | 2 +- .github/workflows/integration-test-cluster-neo4j-5.yml | 2 +- .github/workflows/integration-test-single-server.yml | 4 ++-- .github/workflows/static-analysis.yml | 2 +- .github/workflows/unit-test.yml | 9 ++++++--- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/integration-test-cluster-neo4j-4.yml b/.github/workflows/integration-test-cluster-neo4j-4.yml index c1147c51..c34d0b3a 100644 --- a/.github/workflows/integration-test-cluster-neo4j-4.yml +++ b/.github/workflows/integration-test-cluster-neo4j-4.yml @@ -25,7 +25,7 @@ jobs: - uses: php-actions/composer@v6 with: progress: yes - php_version: 8.1 + php_version: 8.3 version: 2 - uses: php-actions/phpunit@v3 with: diff --git a/.github/workflows/integration-test-cluster-neo4j-5.yml b/.github/workflows/integration-test-cluster-neo4j-5.yml index 1dcaa958..c1222277 100644 --- a/.github/workflows/integration-test-cluster-neo4j-5.yml +++ b/.github/workflows/integration-test-cluster-neo4j-5.yml @@ -25,7 +25,7 @@ jobs: - uses: php-actions/composer@v6 with: progress: yes - php_version: 8.1 + php_version: 8.3 version: 2 - uses: php-actions/phpunit@v3 with: diff --git a/.github/workflows/integration-test-single-server.yml b/.github/workflows/integration-test-single-server.yml index 671c1a6b..c6035ac2 100644 --- a/.github/workflows/integration-test-single-server.yml +++ b/.github/workflows/integration-test-single-server.yml @@ -11,7 +11,7 @@ on: jobs: tests: runs-on: ubuntu-latest - name: "Running on PHP 8.2 with a Neo4j 5 instance connecting over all available protocols" + name: "Running on PHP 8.3 with a Neo4j 5 instance connecting over all available protocols" services: neo4j: @@ -39,7 +39,7 @@ jobs: - uses: php-actions/composer@v6 with: progress: yes - php_version: 8.2 + php_version: 8.3 version: 2 - name: Test multiple connections run: | diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 4bb579df..be9a04fc 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -22,7 +22,7 @@ jobs: - uses: php-actions/composer@v6 with: progress: yes - php_version: 8.0 + php_version: 8.3 version: 2 - name: "PHP-CS-Fixer" run: vendor/bin/php-cs-fixer fix --dry-run diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 57edc2bc..5dfe5b82 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -11,7 +11,10 @@ on: jobs: tests: runs-on: ubuntu-latest - name: "Running on PHP 8.2" + name: "Running Unit Tests" + strategy: + matrix: + php: ['8.1', '8.2', '8.3'] steps: - uses: actions/checkout@v2 @@ -23,12 +26,12 @@ jobs: - uses: php-actions/composer@v6 with: progress: yes - php_version: 8.1 + php_version: ${{ matrix.php }} version: 2 - uses: php-actions/phpunit@v3 with: configuration: phpunit.xml.dist - php_version: 8.1 + php_version: ${{ matrix.php }} memory_limit: 1024M version: 10 testsuite: Unit From 682a111f6e0915bbc6c4aeeeead3e0abf9900da6 Mon Sep 17 00:00:00 2001 From: exaby73 Date: Wed, 30 Oct 2024 18:10:24 +0530 Subject: [PATCH 02/12] feat: Add CI workflows for 8.1 and 8.3 --- .../integration-test-cluster-neo4j-4.yml | 8 +++- .../integration-test-cluster-neo4j-5.yml | 8 +++- .../integration-test-single-server.yml | 42 +++++++++++++------ Dockerfile | 4 +- docker-compose.yml | 2 + 5 files changed, 49 insertions(+), 15 deletions(-) diff --git a/.github/workflows/integration-test-cluster-neo4j-4.yml b/.github/workflows/integration-test-cluster-neo4j-4.yml index 62ebd992..8ede30a9 100644 --- a/.github/workflows/integration-test-cluster-neo4j-4.yml +++ b/.github/workflows/integration-test-cluster-neo4j-4.yml @@ -11,6 +11,9 @@ on: jobs: tests: runs-on: ubuntu-latest + strategy: + matrix: + php: [8.1, 8.3] env: CONNECTION: neo4j://neo4j:testtest@localhost:7688 name: "Running on PHP 8.1 in a Neo4j 4.4 cluster" @@ -19,7 +22,10 @@ jobs: - uses: actions/checkout@v2 - name: Populate .env run: | - echo "CONNECTION=neo4j://neo4j:testtest@neo4j" > .env + echo << .env + PHP_VERSION=${{ matrix.php }} + CONNECTION=neo4j://neo4j:testtest@neo4j + EOF - uses: hoverkraft-tech/compose-action@v2.0.2 name: Start services with: diff --git a/.github/workflows/integration-test-cluster-neo4j-5.yml b/.github/workflows/integration-test-cluster-neo4j-5.yml index 37588031..69c24c47 100644 --- a/.github/workflows/integration-test-cluster-neo4j-5.yml +++ b/.github/workflows/integration-test-cluster-neo4j-5.yml @@ -11,6 +11,9 @@ on: jobs: tests: runs-on: ubuntu-latest + strategy: + matrix: + php: [8.1, 8.3] env: CONNECTION: neo4j://neo4j:testtest@localhost:7687 name: "Running on PHP 8.1 with a Neo4j 5.20-enterprise cluster" @@ -19,7 +22,10 @@ jobs: - uses: actions/checkout@v2 - name: Populate .env run: | - echo "CONNECTION=neo4j://neo4j:testtest@neo4j" > .env + echo << .env + PHP_VERSION=${{ matrix.php }} + CONNECTION=neo4j://neo4j:testtest@neo4j + EOF - uses: hoverkraft-tech/compose-action@v2.0.2 name: Start services with: diff --git a/.github/workflows/integration-test-single-server.yml b/.github/workflows/integration-test-single-server.yml index aa47b687..d890e7ef 100644 --- a/.github/workflows/integration-test-single-server.yml +++ b/.github/workflows/integration-test-single-server.yml @@ -11,13 +11,13 @@ on: jobs: tests-v4: runs-on: ubuntu-latest + strategy: + matrix: + php: [8.1, 8.3] 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/compose-action@v2.0.2 name: Start services with: @@ -28,22 +28,31 @@ 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 + strategy: + matrix: + php: [8.1, 8.3] name: "Running on PHP 8.1 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 - uses: hoverkraft-tech/compose-action@v2.0.2 name: Start services with: @@ -54,10 +63,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 diff --git a/Dockerfile b/Dockerfile index 8f6d2797..bfc3ad73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ -FROM php:8.1-cli +ARG PHP_VERSION + +FROM php:${PHP_VERSION}-cli RUN apt-get update \ && apt-get install -y \ libzip-dev \ diff --git a/docker-compose.yml b/docker-compose.yml index 5be247b6..5a3dd6cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,6 +24,8 @@ x-definitions: build: context: . dockerfile: Dockerfile + args: + PHP_VERSION: ${PHP_VERSION} volumes: - .:/opt/project x-common-cluster: From b6b6e91a8503fdf75607fb63d35d9a6dee9e4bf6 Mon Sep 17 00:00:00 2001 From: exaby73 Date: Wed, 30 Oct 2024 18:11:46 +0530 Subject: [PATCH 03/12] ci: Update names to use matrix values for PHP version --- .github/workflows/integration-test-cluster-neo4j-4.yml | 2 +- .github/workflows/integration-test-cluster-neo4j-5.yml | 2 +- .github/workflows/integration-test-single-server.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration-test-cluster-neo4j-4.yml b/.github/workflows/integration-test-cluster-neo4j-4.yml index 8ede30a9..f95da7e0 100644 --- a/.github/workflows/integration-test-cluster-neo4j-4.yml +++ b/.github/workflows/integration-test-cluster-neo4j-4.yml @@ -16,7 +16,7 @@ jobs: php: [8.1, 8.3] env: 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 diff --git a/.github/workflows/integration-test-cluster-neo4j-5.yml b/.github/workflows/integration-test-cluster-neo4j-5.yml index 69c24c47..091484ce 100644 --- a/.github/workflows/integration-test-cluster-neo4j-5.yml +++ b/.github/workflows/integration-test-cluster-neo4j-5.yml @@ -16,7 +16,7 @@ jobs: php: [8.1, 8.3] env: 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 diff --git a/.github/workflows/integration-test-single-server.yml b/.github/workflows/integration-test-single-server.yml index d890e7ef..a80caf6b 100644 --- a/.github/workflows/integration-test-single-server.yml +++ b/.github/workflows/integration-test-single-server.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: php: [8.1, 8.3] - name: "Running on PHP 8.1 with a Neo4j 4 instance connecting over all available protocols" + name: "Running on PHP ${{ matrix.php }} with a Neo4j 4 instance connecting over all available protocols" steps: - uses: actions/checkout@v2 @@ -49,7 +49,7 @@ jobs: strategy: matrix: php: [8.1, 8.3] - name: "Running on PHP 8.1 with a Neo4j 5 instance connecting over all available protocols" + name: "Running on PHP ${{ matrix.php }} with a Neo4j 5 instance connecting over all available protocols" steps: - uses: actions/checkout@v2 From 176ae509474d9a4f4c785b43022f35a4782f62cd Mon Sep 17 00:00:00 2001 From: exaby73 Date: Wed, 30 Oct 2024 18:13:34 +0530 Subject: [PATCH 04/12] ci: Change echo to cat --- .github/workflows/integration-test-cluster-neo4j-4.yml | 2 +- .github/workflows/integration-test-cluster-neo4j-5.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-test-cluster-neo4j-4.yml b/.github/workflows/integration-test-cluster-neo4j-4.yml index f95da7e0..168b83e7 100644 --- a/.github/workflows/integration-test-cluster-neo4j-4.yml +++ b/.github/workflows/integration-test-cluster-neo4j-4.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v2 - name: Populate .env run: | - echo << .env + cat < .env PHP_VERSION=${{ matrix.php }} CONNECTION=neo4j://neo4j:testtest@neo4j EOF diff --git a/.github/workflows/integration-test-cluster-neo4j-5.yml b/.github/workflows/integration-test-cluster-neo4j-5.yml index 091484ce..f92b0737 100644 --- a/.github/workflows/integration-test-cluster-neo4j-5.yml +++ b/.github/workflows/integration-test-cluster-neo4j-5.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v2 - name: Populate .env run: | - echo << .env + cat < .env PHP_VERSION=${{ matrix.php }} CONNECTION=neo4j://neo4j:testtest@neo4j EOF From b11befa11ee76d7586960f0d91481ca7a79e90dc Mon Sep 17 00:00:00 2001 From: exaby73 Date: Wed, 30 Oct 2024 18:17:05 +0530 Subject: [PATCH 05/12] fix: Add args to 4.4 docker compose --- docker-compose-neo4j-4.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose-neo4j-4.yml b/docker-compose-neo4j-4.yml index ce6bda62..da63ea5d 100644 --- a/docker-compose-neo4j-4.yml +++ b/docker-compose-neo4j-4.yml @@ -30,6 +30,8 @@ services: build: context: . dockerfile: Dockerfile + args: + PHP_VERSION: ${PHP_VERSION} networks: - neo4j volumes: From b332ca5a2d2d11d9f252e5fbbdb4abc0de0cfda9 Mon Sep 17 00:00:00 2001 From: exaby73 Date: Wed, 30 Oct 2024 18:19:33 +0530 Subject: [PATCH 06/12] ci: Add PHP_VERSION to env --- .github/workflows/integration-test-cluster-neo4j-4.yml | 1 + .github/workflows/integration-test-cluster-neo4j-5.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/integration-test-cluster-neo4j-4.yml b/.github/workflows/integration-test-cluster-neo4j-4.yml index 168b83e7..db91a10e 100644 --- a/.github/workflows/integration-test-cluster-neo4j-4.yml +++ b/.github/workflows/integration-test-cluster-neo4j-4.yml @@ -15,6 +15,7 @@ jobs: matrix: php: [8.1, 8.3] env: + PHP_VERSION: ${{ matrix.php }} CONNECTION: neo4j://neo4j:testtest@localhost:7688 name: "Running on PHP ${{ matrix.php }} in a Neo4j 4.4 cluster" diff --git a/.github/workflows/integration-test-cluster-neo4j-5.yml b/.github/workflows/integration-test-cluster-neo4j-5.yml index f92b0737..47513615 100644 --- a/.github/workflows/integration-test-cluster-neo4j-5.yml +++ b/.github/workflows/integration-test-cluster-neo4j-5.yml @@ -15,6 +15,7 @@ jobs: matrix: php: [8.1, 8.3] env: + PHP_VERSION: ${{ matrix.php }} CONNECTION: neo4j://neo4j:testtest@localhost:7687 name: "Running on PHP ${{ matrix.php }} with a Neo4j 5.20-enterprise cluster" From 5b1bf788d4ead3b4ccbef413fe3da914d6d671f1 Mon Sep 17 00:00:00 2001 From: exaby73 Date: Wed, 30 Oct 2024 18:22:35 +0530 Subject: [PATCH 07/12] ci: Remove PHP_VERSION from .env --- .github/workflows/integration-test-cluster-neo4j-4.yml | 5 +---- .github/workflows/integration-test-cluster-neo4j-5.yml | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/integration-test-cluster-neo4j-4.yml b/.github/workflows/integration-test-cluster-neo4j-4.yml index db91a10e..eb18de57 100644 --- a/.github/workflows/integration-test-cluster-neo4j-4.yml +++ b/.github/workflows/integration-test-cluster-neo4j-4.yml @@ -23,10 +23,7 @@ jobs: - uses: actions/checkout@v2 - name: Populate .env run: | - cat < .env - PHP_VERSION=${{ matrix.php }} - CONNECTION=neo4j://neo4j:testtest@neo4j - EOF + echo "CONNECTION=neo4j://neo4j:testtest@neo4j" >> .env - uses: hoverkraft-tech/compose-action@v2.0.2 name: Start services with: diff --git a/.github/workflows/integration-test-cluster-neo4j-5.yml b/.github/workflows/integration-test-cluster-neo4j-5.yml index 47513615..8198ea4d 100644 --- a/.github/workflows/integration-test-cluster-neo4j-5.yml +++ b/.github/workflows/integration-test-cluster-neo4j-5.yml @@ -23,10 +23,7 @@ jobs: - uses: actions/checkout@v2 - name: Populate .env run: | - cat < .env - PHP_VERSION=${{ matrix.php }} - CONNECTION=neo4j://neo4j:testtest@neo4j - EOF + echo "CONNECTION=neo4j://neo4j:testtest@neo4j" >> .env - uses: hoverkraft-tech/compose-action@v2.0.2 name: Start services with: From c1c27eeb46fde977b217b2f30eeb8b947314f225 Mon Sep 17 00:00:00 2001 From: exaby73 Date: Wed, 30 Oct 2024 18:23:33 +0530 Subject: [PATCH 08/12] ci: Add PHP_VERSION back to .env --- .github/workflows/integration-test-cluster-neo4j-4.yml | 1 + .github/workflows/integration-test-cluster-neo4j-5.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/integration-test-cluster-neo4j-4.yml b/.github/workflows/integration-test-cluster-neo4j-4.yml index eb18de57..f835e40d 100644 --- a/.github/workflows/integration-test-cluster-neo4j-4.yml +++ b/.github/workflows/integration-test-cluster-neo4j-4.yml @@ -23,6 +23,7 @@ jobs: - uses: actions/checkout@v2 - name: Populate .env run: | + echo "PHP_VERSION=${{ matrix.php }}" > .env echo "CONNECTION=neo4j://neo4j:testtest@neo4j" >> .env - uses: hoverkraft-tech/compose-action@v2.0.2 name: Start services diff --git a/.github/workflows/integration-test-cluster-neo4j-5.yml b/.github/workflows/integration-test-cluster-neo4j-5.yml index 8198ea4d..43d19227 100644 --- a/.github/workflows/integration-test-cluster-neo4j-5.yml +++ b/.github/workflows/integration-test-cluster-neo4j-5.yml @@ -23,6 +23,7 @@ jobs: - uses: actions/checkout@v2 - name: Populate .env run: | + echo "PHP_VERSION=${{ matrix.php }}" > .env echo "CONNECTION=neo4j://neo4j:testtest@neo4j" >> .env - uses: hoverkraft-tech/compose-action@v2.0.2 name: Start services From c45e52fb3898d842594ae7e946ef4e873bc59ba6 Mon Sep 17 00:00:00 2001 From: exaby73 Date: Wed, 30 Oct 2024 18:25:14 +0530 Subject: [PATCH 09/12] debug --- .github/workflows/integration-test-cluster-neo4j-5.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/integration-test-cluster-neo4j-5.yml b/.github/workflows/integration-test-cluster-neo4j-5.yml index 43d19227..7903f57c 100644 --- a/.github/workflows/integration-test-cluster-neo4j-5.yml +++ b/.github/workflows/integration-test-cluster-neo4j-5.yml @@ -25,6 +25,8 @@ jobs: run: | echo "PHP_VERSION=${{ matrix.php }}" > .env echo "CONNECTION=neo4j://neo4j:testtest@neo4j" >> .env + - name: "[DEBUG]" + run: cat .env - uses: hoverkraft-tech/compose-action@v2.0.2 name: Start services with: From 9bc13fb8562e6e38f43e09713c30a3003a766331 Mon Sep 17 00:00:00 2001 From: exaby73 Date: Wed, 30 Oct 2024 18:53:00 +0530 Subject: [PATCH 10/12] ci: Add PHP_VERSION to testkit --- .github/workflows/integration-test-cluster-neo4j-5.yml | 2 -- docker-compose-neo4j-4.yml | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-test-cluster-neo4j-5.yml b/.github/workflows/integration-test-cluster-neo4j-5.yml index 7903f57c..43d19227 100644 --- a/.github/workflows/integration-test-cluster-neo4j-5.yml +++ b/.github/workflows/integration-test-cluster-neo4j-5.yml @@ -25,8 +25,6 @@ jobs: run: | echo "PHP_VERSION=${{ matrix.php }}" > .env echo "CONNECTION=neo4j://neo4j:testtest@neo4j" >> .env - - name: "[DEBUG]" - run: cat .env - uses: hoverkraft-tech/compose-action@v2.0.2 name: Start services with: diff --git a/docker-compose-neo4j-4.yml b/docker-compose-neo4j-4.yml index da63ea5d..aee57ad1 100644 --- a/docker-compose-neo4j-4.yml +++ b/docker-compose-neo4j-4.yml @@ -46,7 +46,8 @@ services: context: . dockerfile: Dockerfile args: - - WITH_XDEBUG=true + PHP_VERSION: ${PHP_VERSION} + WITH_XDEBUG: true working_dir: /opt/project volumes: - .:/opt/project From 3b56b1bc93b06c095e3cab52cbc1e57219c211b8 Mon Sep 17 00:00:00 2001 From: exaby73 Date: Wed, 30 Oct 2024 18:57:49 +0530 Subject: [PATCH 11/12] ci: Populate .env in single server workflow --- .github/workflows/integration-test-single-server.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/integration-test-single-server.yml b/.github/workflows/integration-test-single-server.yml index a80caf6b..70178011 100644 --- a/.github/workflows/integration-test-single-server.yml +++ b/.github/workflows/integration-test-single-server.yml @@ -18,6 +18,10 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Populate .env + run: | + echo "PHP_VERSION=${{ matrix.php }}" > .env + echo "CONNECTION=neo4j://neo4j:testtest@neo4j" >> .env - uses: hoverkraft-tech/compose-action@v2.0.2 name: Start services with: From 1068c658030a15de8c4324d960568aa2624afc76 Mon Sep 17 00:00:00 2001 From: exaby73 Date: Fri, 1 Nov 2024 10:15:14 +0530 Subject: [PATCH 12/12] ci: Populate env for v5 tests for single server workflow --- .github/workflows/integration-test-single-server.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/integration-test-single-server.yml b/.github/workflows/integration-test-single-server.yml index 70178011..bb8e65b3 100644 --- a/.github/workflows/integration-test-single-server.yml +++ b/.github/workflows/integration-test-single-server.yml @@ -57,6 +57,10 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Populate .env + run: | + echo "PHP_VERSION=${{ matrix.php }}" > .env + echo "CONNECTION=neo4j://neo4j:testtest@neo4j" >> .env - uses: hoverkraft-tech/compose-action@v2.0.2 name: Start services with: