-
-
Notifications
You must be signed in to change notification settings - Fork 11
50 lines (43 loc) · 1.3 KB
/
db.50.2204.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Tests with Neo4j^5 on PHP^8
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
db-tests-50-2204:
runs-on: ubuntu-22.04
name: "Running Integration tests for PHP ${{ matrix.php-version }} on Neo4j ${{ matrix.neo4j-version }}"
strategy:
fail-fast: false
matrix:
neo4j-version: ['5.4', '5.6', '5.8', '5.12', '5.13', '5.23']
php-version: ['8.1', '8.2', '8.3', '8.4']
services:
neo4j:
image: neo4j:${{ matrix.neo4j-version }}
env:
NEO4J_AUTH: neo4j/nothing123
NEO4J_PLUGINS: '["apoc"]'
ports:
- 7687:7687
- 7474:7474
options: >-
--health-cmd "wget http://localhost:7474 || exit 1"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, sockets
coverage: xdebug
ini-values: max_execution_time=0
- name: Install dependencies
run: composer install --no-progress
- name: Test with phpunit
env:
GDB_USERNAME: neo4j
GDB_PASSWORD: nothing123
run: vendor/bin/phpunit --configuration phpunit.xml --testsuite "Database"