File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 77jobs :
88 phpunit :
99 runs-on : ubuntu-18.04
10+ strategy :
11+ matrix :
12+ php-versions : ["7.3", "7.4"]
13+ name : phpunit on PHP ${{ matrix.php-versions }}
1014 env :
1115 DB_DATABASE : drupal
1216 DB_USER : root
1317 DB_PASSWORD : root
1418 steps :
1519 - uses : actions/checkout@v2
16- - name : " Setup PHP 7.3 "
20+ - name : Setup PHP ${{ matrix.php-versions }}
1721 uses : shivammathur/setup-php@v2
1822 with :
19- php-version : " 7.3 "
23+ php-version : ${{ matrix.php-versions }}
2024 - name : Start MySQL
2125 run : |
2226 sudo systemctl start mysql
@@ -40,10 +44,10 @@ jobs:
4044 run : |
4145 mkdir -p $COMPOSER_HOME
4246 cd $COMPOSER_HOME
43- composer require drush/drush:8.1 .* phpunit/phpunit:^8 torotil/upal:2.0.0-RC1 stripe/stripe-php:7.27.2
47+ composer require drush/drush:8.3 .* phpunit/phpunit:^8 torotil/upal:2.0.0-RC1
4448 - name : Bootstrap drupal
4549 run : |
46- php -d sendmail_path=`which true` $COMPOSER_HOME/vendor/bin/drush.php --yes core-quick-drupal --core=drupal-7.69 --profile=testing --no-server --db-url=mysql://${{ env.DB_USER }}:${{ env.DB_PASSWORD }}@127.0.0.1:3306/${{ env.DB_DATABASE }} --root=$ROOT
50+ php -d sendmail_path=`which true` $COMPOSER_HOME/vendor/bin/drush.php --yes core-quick-drupal --core=drupal-7.82 --profile=testing --no-server --db-url=mysql://${{ env.DB_USER }}:${{ env.DB_PASSWORD }}@127.0.0.1:3306/${{ env.DB_DATABASE }} --root=$ROOT
4751 ln -s $REPO $ROOT/sites/all/modules/module_under_test
4852 cd $ROOT
4953 curl https://www.drupal.org/files/issues/1891356-drupal_static_reset-on-module-changes-30-D7.patch | patch -p1
You can’t perform that action at this time.
0 commit comments