Skip to content

Commit

Permalink
FIX composer install in the checked out code
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Dec 28, 2023
1 parent 73f306a commit e767041
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,27 @@ jobs:
- 5672:5672

steps:
- name: 'install fresh magento repo'
uses: MAD-I-T/magento-actions@v3.20
env:
COMPOSER_AUTH: ${{secrets.COMPOSER_AUTH}}
with:
process: 'install-magento'
magento_version: 2.4.6
no_push: 1 ## add this arg to not push to the repo ideal for quick test on specific version

### Download the third party code in custom dir###
- uses: actions/checkout@v3
with:
path: Sequra_Core

- uses: "ramsey/composer-install@v2"
env:
COMPOSER_AUTH: ${{secrets.COMPOSER_AUTH}}
with:
#composer-options: "--ignore-platform-reqs --optimize-autoloader"
working-directory: "Sequra_Core"

- name: 'install fresh magento repo'
uses: MAD-I-T/magento-actions@v3.20
env:
COMPOSER_AUTH: ${{secrets.COMPOSER_AUTH}}
with:
process: 'install-magento'
magento_version: 2.4.6
no_push: 1 ## add this arg to not push to the repo ideal for quick test on specific version

# Integrations tests
- name: "copy integration test's phpunit.xml"
run: cp Sequra_Core/Test/Integration/phpunit.xml.dist magento/dev/tests/integration/phpunit.xml
Expand Down

0 comments on commit e767041

Please sign in to comment.