create empty addon folder in phpunit tests

This commit is contained in:
Art4 2024-11-09 09:57:16 +00:00
parent 1946d4f470
commit 64751b7b5a
2 changed files with 2 additions and 2 deletions

View file

@ -40,8 +40,7 @@ steps:
composer_install: composer_install:
image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION} image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION}
commands: commands:
# create empty addon folder - mkdir addon # create empty addon folder to appease composer
- mkdir addon
- export COMPOSER_HOME=.composer - export COMPOSER_HOME=.composer
- ./bin/composer.phar validate - ./bin/composer.phar validate
- ./bin/composer.phar install --prefer-dist - ./bin/composer.phar install --prefer-dist

View file

@ -38,6 +38,7 @@ steps:
composer_install: composer_install:
image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION} image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION}
commands: commands:
- mkdir addon # create empty addon folder to appease composer
- export COMPOSER_HOME=.composer - export COMPOSER_HOME=.composer
- ./bin/composer.phar validate - ./bin/composer.phar validate
- ./bin/composer.phar install --prefer-dist - ./bin/composer.phar install --prefer-dist