Skip to content

Commit 830d989

Browse files
workflows update
1 parent 8120f55 commit 830d989

File tree

4 files changed

+49
-1
lines changed

4 files changed

+49
-1
lines changed

.github/workflows/neo4j.2025.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Tests with Neo4j^2025 on PHP^8
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
7+
jobs:
8+
db-tests-2025-2204:
9+
runs-on: ubuntu-22.04
10+
name: "Running Integration tests for PHP ${{ matrix.php-version }} on Neo4j ${{ matrix.neo4j-version }}"
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
neo4j-version: ['2025.07', '2025']
15+
php-version: ['8.1', '8.2', '8.3', '8.4']
16+
17+
services:
18+
neo4j:
19+
image: neo4j:${{ matrix.neo4j-version }}
20+
env:
21+
NEO4J_AUTH: neo4j/nothing123
22+
NEO4J_PLUGINS: '["apoc"]'
23+
ports:
24+
- 7687:7687
25+
- 7474:7474
26+
options: >-
27+
--health-cmd "wget http://localhost:7474 || exit 1"
28+
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v4
32+
33+
- name: Setup PHP
34+
uses: shivammathur/setup-php@v2
35+
with:
36+
php-version: ${{ matrix.php-version }}
37+
extensions: mbstring, sockets
38+
coverage: xdebug
39+
ini-values: max_execution_time=0
40+
41+
- name: Install dependencies
42+
run: composer install --no-progress
43+
44+
- name: Test with phpunit
45+
env:
46+
GDB_USERNAME: neo4j
47+
GDB_PASSWORD: nothing123
48+
run: vendor/bin/phpunit --configuration phpunit.xml --testsuite "Database"
File renamed without changes.

.github/workflows/db.50.2204.yml renamed to .github/workflows/neo4j.5.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
neo4j-version: ['5.4', '5.6', '5.8', '5.12', '5.22', '5.25', '5.26', '2025.07', '2025']
14+
neo4j-version: ['5.4', '5.6', '5.8', '5.12', '5.22', '5.25', '5.26']
1515
php-version: ['8.1', '8.2', '8.3', '8.4']
1616

1717
services:
File renamed without changes.

0 commit comments

Comments
 (0)