File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,19 @@ permissions:
1515jobs :
1616 testsuite :
1717 runs-on : ubuntu-24.04
18+ services :
19+ mysql :
20+ image : mysql:9.6
21+ env :
22+ MYSQL_ROOT_PASSWORD : root
23+ MYSQL_DATABASE : plugins_cakephp_test
24+ ports :
25+ - 3306:3306
26+ options : >-
27+ --health-cmd="mysqladmin ping -h 127.0.0.1 -proot"
28+ --health-interval=10s
29+ --health-timeout=5s
30+ --health-retries=10
1831 strategy :
1932 fail-fast : false
2033 matrix :
2942 uses : shivammathur/setup-php@v2
3043 with :
3144 php-version : ${{ matrix.php-version }}
32- extensions : mbstring, intl, pdo_sqlite
45+ extensions : mbstring, intl, pdo_mysql, pdo_sqlite
3346 ini-values : zend.assertions=1
3447 coverage : none
3548
4558 - name : Run PHPUnit
4659 run : vendor/bin/phpunit
4760 env :
48- DATABASE_TEST_URL : sqlite ://./testdb.sqlite
61+ DATABASE_TEST_URL : mysql ://root:root@127.0.0.1:3306/plugins_cakephp_test?encoding=utf8mb4
4962
5063 coding-standard :
5164 name : Coding Standard
You can’t perform that action at this time.
0 commit comments