Skip to content

Commit

Permalink
[ECP-9328] add new code for enabling hyva
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmita committed Sep 30, 2024
1 parent 670e35a commit 5717199
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/scripts/install_hyva.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ echo "Installing Hyva compatibility module"
# TODO: update the branch from develop to current branch
echo "dev-${BRANCH_NAME}"
composer require adyen/module-hyva-checkout:dev-${BRANCH_NAME}

bin/magento config:set dev/template/minify_html 0
bin/magento config:set hyva-default-theme/general/enable 1 --lock-config
bin/magento module:enable --all
bin/magento setup:upgrade
bin/magento setup:di:compile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Check enabled Magento theme
run: |
docker exec -u www-data magento2-hyva-container bash -c "mysql -u magento -pmagento magento -e 'SELECT theme_id, theme_title, code FROM theme;'"
docker exec -u www-data magento2-hyva-container bash -c "cd /var/www/html && bin/magento config:show | grep theme_id"
- name: Run E2E tests
run: |
Expand Down

0 comments on commit 5717199

Please sign in to comment.