File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 image : yireo/magento2installed:2.4.8-p3
1111 services :
1212 mysql :
13- image : mysql:8.0
13+ image : yireo/mariadb:10
1414 env :
1515 MYSQL_ROOT_PASSWORD : root
1616 MYSQL_USER : magento2
3030 - name : Checkout sources
3131 uses : actions/checkout@v4
3232
33- - name : Enable log_bin_trust_function_creators
34- run : mysql -h mysql -uroot -proot -e "SET GLOBAL log_bin_trust_function_creators=1;"
33+ - name : Apply patch for reporting memory under Alpine
34+ run : cd /tmp/magento && curl -fsSL https://patch-diff.githubusercontent.com/raw/magento/magento2/pull/39216.diff | git apply
35+
36+ - name : Apply patch for changing MySQL client configuration
37+ run : cd /tmp/magento && curl -fsSL https://patch-diff.githubusercontent.com/raw/magento/magento2/pull/40410.diff | git apply
3538
3639 - name : Configure GitLab
3740 run : |
Original file line number Diff line number Diff line change 1+ <?php
2+ return [
3+ 'client-mariadb ' => [
4+ 'disable-ssl ' ,
5+ ],
6+ ];
7+
Original file line number Diff line number Diff line change 3232 - name : Run Magento 2 PHPStan Tests
3333 run : |
3434 export COMPOSER_NAME=`cat .module.ini | grep COMPOSER_NAME | cut -f2 -d= | tr -d '"'`
35- export LEVEL=`echo '<?= json_decode(file_get_contents("MODULE.json"), true)["phpstan_level"];' | php`
35+ export LEVEL=$(jq -r '.phpstan_level // 1' MODULE.json)
36+ test -f /tmp/magento/phpstan.neon || echo 'parameters:' > /tmp/magento/phpstan.neon
3637 php -d memory_limit=4G /tmp/magento/vendor/bin/phpstan analyse --level $LEVEL ${GITHUB_WORKSPACE}
3738
You can’t perform that action at this time.
0 commit comments