Skip to content

Commit b9f6703

Browse files
committed
Add rdbms matrix for wider compatibility testing
This change set introduces a `rdbms` matrix with the purpose of increasing insurance this package works with up to the latest MySQL/MariaDB versions. Note that due to MySQL's versioning there are no `v6` and `v7`. Refs: #194
1 parent 3cf70c6 commit b9f6703

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ on:
66

77
jobs:
88
PHPUnit:
9-
name: PHPUnit (PHP ${{ matrix.php }})
9+
name: PHPUnit (PHP ${{ matrix.php }}; RDBMS ${{ matrix.rdbms }})
1010
runs-on: ubuntu-22.04
1111
strategy:
1212
matrix:
13+
rdbms:
14+
- mysql:5
15+
- mariadb:10
1316
php:
1417
- 8.3
1518
- 8.2
@@ -31,7 +34,7 @@ jobs:
3134
coverage: xdebug
3235
ini-file: development
3336
- run: composer install
34-
- 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
37+
- 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 }}
3538
- run: bash tests/wait-for-mysql.sh
3639
- run: vendor/bin/phpunit --coverage-text
3740
if: ${{ matrix.php >= 7.3 }}

0 commit comments

Comments
 (0)