File tree Expand file tree Collapse file tree 2 files changed +73
-0
lines changed
Expand file tree Collapse file tree 2 files changed +73
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Tests with a database
2+
3+ on :
4+ push :
5+ branches : [ '**' ]
6+ pull_request :
7+ branches : ['**']
8+
9+ jobs :
10+ tests :
11+ runs-on : ubuntu-latest
12+ name : " Running Integration tests for PHP 7.1 on Neo4j ${{ matrix.neo4j-version }}"
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ neo4j-version : ["3.5", "4.2", "4.3", "4.4"]
17+
18+ services :
19+ neo4j :
20+ image : neo4j:${{ matrix.neo4j-version }}
21+ env :
22+ NEO4J_AUTH : neo4j/nothing
23+ ports :
24+ - 7687:7687
25+ - 7474:7474
26+ options : >-
27+ --health-cmd "wget http://localhost:7474 || exit 1"
28+
29+ steps :
30+ - uses : actions/checkout@v2
31+ - uses : php-actions/composer@v6
32+ with :
33+ progress : yes
34+ php_version : 7.1
35+ version : 2
36+ - uses : php-actions/phpunit@v3
37+ with :
38+ configuration : phpunit.xml.dist
39+ php_version : 7.1
40+ php_extensions : bcmath
41+ bootstrap : vendor/autoload.php
42+ args : --testsuite "Integration"
Original file line number Diff line number Diff line change 1+ name : Tests without a database
2+
3+ on :
4+ push :
5+ branches : [ '**' ]
6+ pull_request :
7+ branches : ['**']
8+
9+ jobs :
10+ tests :
11+ runs-on : ubuntu-latest
12+ name : " Running Tests for PHP ${{ matrix.php-version }}"
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ php-version : ['7.1', '7.4', '8.0', '8.1']
17+
18+ steps :
19+ - uses : actions/checkout@v2
20+ - uses : php-actions/composer@v6
21+ with :
22+ progress : yes
23+ php_version : ${{ matrix.php-version }}
24+ version : 2
25+ - uses : php-actions/phpunit@v3
26+ with :
27+ configuration : phpunit.xml.dist
28+ php_version : ${{ matrix.php-version }}
29+ php_extensions : bcmath
30+ bootstrap : vendor/autoload.php
31+ args : --testsuite "Unit"
You can’t perform that action at this time.
0 commit comments