Skip to content

Merge pull request #778 from mollie/release/2.38.0 #502

Merge pull request #778 from mollie/release/2.38.0

Merge pull request #778 from mollie/release/2.38.0 #502

name: setup:di:compile
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
include:
- PHP_VERSION: php73-fpm
MAGENTO_VERSION: 2.3.7-p4
- PHP_VERSION: php74-fpm
MAGENTO_VERSION: 2.4.0
- PHP_VERSION: php74-fpm
MAGENTO_VERSION: 2.4.3-with-replacements
- PHP_VERSION: php81-fpm
MAGENTO_VERSION: 2.4.6-p4
- PHP_VERSION: php82-fpm
MAGENTO_VERSION: 2.4.6-p4
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Start Docker
run: docker run --detach --name magento-project-community-edition michielgerritsen/magento-project-community-edition:${{ matrix.PHP_VERSION }}-magento${{ matrix.MAGENTO_VERSION }}
- name: Remove version from composer.json
run: sed -i '/version/d' ./composer.json
- name: Upload our code into the docker container
run: docker cp $(pwd) magento-project-community-edition:/data/extensions/
- name: Install the extension in Magento
run: docker exec magento-project-community-edition ./install-composer-package mollie/magento2:@dev
- name: Run setup:di:compile
run: docker exec magento-project-community-edition ./retry "php bin/magento setup:di:compile"