Skip to content

Commit

Permalink
Add new command to allow all composer plugins bundled by Magento
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench committed Dec 22, 2021
1 parent 5f621af commit af99a6c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/magento_platform_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ jobs:
run: composer global require hirak/prestissimo
if: matrix.composer-version == 'v1'

- name: Allow all Composer plugins
run: composer global config allow-plugins true
if: matrix.composer-version == 'v2'

- name: Get Composer Cache Directory
id: composer-cache
run: |
Expand All @@ -147,9 +151,7 @@ jobs:

- name: Install Magento ${{ matrix.magento-version }}
run: |
composer global config http-basic.repo.magento.com "${MAGENTO_MARKETPLACE_USERNAME}" "${MAGENTO_MARKETPLACE_PASSWORD}";
composer global config allow-plugins true
bin/n98-magerun2 --ansi install \
--magentoVersionByName="${{ matrix.magento-version }}" --installationFolder="./magento" \
--dbHost=127.0.0.1 --dbPort=${{ job.services.mysql.ports['3306'] }} --dbUser=root --dbPass=root --dbName="magento" \
Expand Down

0 comments on commit af99a6c

Please # to comment.