Skip to content

Commit

Permalink
Pipeline fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jissereitsma committed Sep 3, 2024
1 parent 9a2b39e commit b178364
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/extdn-phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}

- uses: extdn/github-actions-m2/magento-phpstan/8.3@master
env:
MAGENTO_VERSION: '2.4.7-p1'
COMPOSER_VERSION: 2
with:
composer_name: yireo/magento2-taxratesmanager2
composer_version: 2
composer_name: ${{ secrets.COMPOSER_NAME }}
phpstan_level: 2
magento_pre_install_script: .github/workflows/extdn-phpstan-pre-install.sh
9 changes: 9 additions & 0 deletions .github/workflows/extdn-unit-tests-pre-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
composer config minimum-stability dev
composer config prefer-stable false

composer config --no-plugins allow-plugins true

composer require yireo/magento2-replace-bundled:^4.0 --no-update
composer require yireo/magento2-replace-inventory:^4.0 --no-update
composer require yireo/magento2-replace-pagebuilder:^4.0 --no-update
4 changes: 4 additions & 0 deletions .github/workflows/extdn-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@ jobs:
env:
MAGENTO_VERSION: '2.3.7-p3'
COMPOSER_VERSION: 1
with:
magento_pre_install_script: .github/workflows/extdn-phpstan-pre-install.sh

- uses: extdn/github-actions-m2/magento-unit-tests/8.3@master
env:
MAGENTO_VERSION: '2.4.7-p2'
COMPOSER_VERSION: 2
with:
magento_pre_install_script: .github/workflows/extdn-phpstan-pre-install.sh

0 comments on commit b178364

Please sign in to comment.