File tree Expand file tree Collapse file tree 3 files changed +43
-3
lines changed Expand file tree Collapse file tree 3 files changed +43
-3
lines changed Original file line number Diff line number Diff line change 77 branches : [ main ]
88
99jobs :
10- tests :
10+ tests-2004 :
1111 runs-on : ubuntu-20.04
1212 name : " Running Integration tests for PHP ${{ matrix.php-version }} on Memgraph"
1313 strategy :
1414 fail-fast : false
1515 matrix :
16- php-version : ['8.0', '8.1' ]
16+ php-version : ['8.0']
1717
1818 services :
1919 memgraph :
Original file line number Diff line number Diff line change 1+ name : Tests with a database PHP8
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ tests-2204 :
11+ runs-on : ubuntu-22.04
12+ name : " Running Integration tests for PHP ${{ matrix.php-version }} on Memgraph"
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ php-version : ['8.1', '8.2']
17+
18+ services :
19+ memgraph :
20+ image : memgraph/memgraph:latest
21+ ports :
22+ - 7687:7687
23+
24+ steps :
25+ - name : Checkout
26+ uses : actions/checkout@v3
27+
28+ - name : Setup PHP
29+ uses : shivammathur/setup-php@v2
30+ with :
31+ php-version : ${{ matrix.php-version }}
32+ extensions : mbstring, sockets
33+ coverage : xdebug
34+ ini-values : max_execution_time=0
35+
36+ - name : Install dependencies
37+ run : composer install --no-progress
38+
39+ - name : Test with phpunit
40+ run : vendor/bin/phpunit --configuration phpunit.xml --testsuite "Database"
Original file line number Diff line number Diff line change 1212 "stefanak-michal/bolt" : " ^6"
1313 },
1414 "require-dev" : {
15- "phpunit/phpunit" : " >= 9"
15+ "phpunit/phpunit" : " ^ 9"
1616 },
1717 "support" : {
1818 "source" : " https://github.com/stefanak-michal/memgraph-bolt-wrapper"
You can’t perform that action at this time.
0 commit comments