Merge branch 'fix-composer-install-in-woodpecker-ci' into improve-tests

This commit is contained in:
Art4 2024-11-09 10:02:52 +00:00
commit 37b2c3faab
2 changed files with 2 additions and 0 deletions

View file

@ -40,6 +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:
- 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

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