Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/integration-test-cluster-neo4j-4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1, 8.3]
php: ['8.1.31', '8.3.17']
env:
PHP_VERSION: ${{ matrix.php }}
CONNECTION: neo4j://neo4j:testtest@localhost:7688
name: "Running on PHP ${{ matrix.php }} in a Neo4j 4.4 cluster"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Populate .env
run: |
echo "PHP_VERSION=${{ matrix.php }}" > .env
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-test-cluster-neo4j-5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1, 8.3]
php: ['8.1.31', '8.3.17']
env:
PHP_VERSION: ${{ matrix.php }}
CONNECTION: neo4j://neo4j:testtest@localhost:7687
name: "Running on PHP ${{ matrix.php }} with a Neo4j 5.20-enterprise cluster"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Populate .env
run: |
echo "PHP_VERSION=${{ matrix.php }}" > .env
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration-test-single-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1, 8.3]
php: ['8.1.31', '8.3.17']
name: "Running on PHP ${{ matrix.php }} with a Neo4j 4 instance connecting over all available protocols"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Populate .env
run: |
echo "PHP_VERSION=${{ matrix.php }}" > .env
Expand Down Expand Up @@ -46,11 +46,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1, 8.3]
php: ['8.1.31', '8.3.17']
name: "Running on PHP ${{ matrix.php }} with a Neo4j 5 instance connecting over all available protocols"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Populate .env
run: |
echo "PHP_VERSION=${{ matrix.php }}" > .env
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,22 @@ jobs:
name: "Lint & Analyse"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Setup the correct PHP version globally
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3.16'
php-version: '8.3.17'

- name: Cache Composer dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}

- uses: php-actions/composer@v6
with:
progress: yes
php_version: 8.3.16
version: 2
- name: Install dependencies
run: composer install

- name: "PHP-CS-Fixer"
run: vendor/bin/php-cs-fixer fix --dry-run
Expand Down
24 changes: 15 additions & 9 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,27 @@ jobs:
name: "Running Unit Tests"
strategy:
matrix:
php: ['8.1.31', '8.2.27', '8.3.16']
php: ['8.1.31', '8.2.27', '8.3.17']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Setup the correct PHP version globally
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- name: Cache Composer dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: php-actions/composer@v6
with:
progress: yes
php_version: ${{ matrix.php }}
version: 2
- uses: php-actions/phpunit@v3

- name: Install dependencies
run: composer install

- uses: php-actions/phpunit@v4
with:
configuration: phpunit.xml.dist
php_version: ${{ matrix.php }}
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ phpunit.xml
clover.xml
cc-test-reporter
/run-pipeline.sh
composer.lock
.env
/docs/_build
cachegrind.out.*
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@
"allow-plugins": {
"composer/package-versions-deprecated": true,
"php-http/discovery": true
},
"platform": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is great! I never knew about this

https://getcomposer.org/doc/06-config.md#platform

"php": "8.1.17"
}
}
}
Loading