File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
PHPUnit :
9
- name : PHPUnit (PHP ${{ matrix.php }})
9
+ name : PHPUnit (PHP ${{ matrix.php }} + ${{ matrix.rdbms }} )
10
10
runs-on : ubuntu-24.04
11
11
strategy :
12
12
matrix :
13
+ rdbms :
14
+ - mysql:5
13
15
php :
14
16
- 8.4
15
17
- 8.3
24
26
- 5.6
25
27
- 5.5
26
28
- 5.4
29
+ include :
30
+ - php : 8.4
31
+ rdbms : mariadb:10
27
32
steps :
28
33
- uses : actions/checkout@v4
29
34
- uses : shivammathur/setup-php@v2
32
37
coverage : ${{ matrix.php < 8.0 && 'xdebug' || 'pcov' }}
33
38
ini-file : development
34
39
- run : composer install
35
- - run : docker run -d --name mysql --net=host -e MYSQL_RANDOM_ROOT_PASSWORD=yes -e MYSQL_DATABASE=test -e MYSQL_USER=test -e MYSQL_PASSWORD=test mysql:5
40
+ - run : docker run -d --name mysql --net=host -e MYSQL_RANDOM_ROOT_PASSWORD=yes -e MYSQL_DATABASE=test -e MYSQL_USER=test -e MYSQL_PASSWORD=test ${{ matrix.rdbms }}
36
41
- run : bash tests/wait-for-mysql.sh
37
42
- run : vendor/bin/phpunit --coverage-text
38
43
if : ${{ matrix.php >= 7.3 }}
You can’t perform that action at this time.
0 commit comments