From 7deb0698fd13978d358e1e6b725ed33cf63b3bb3 Mon Sep 17 00:00:00 2001 From: Michiel Gerritsen Date: Thu, 15 Jun 2023 10:19:49 +0200 Subject: [PATCH] Magento 2.4.7-beta2, 2.4.6-p3, 2.4.6-p1, 2.4.5-p5, 2.4.5-p4, 2.4.5-p3, 2.4.4-p6, 2.4.4-p5, 2.4.4-p4 --- .github/workflows/magento-2.3.yml | 1 - .github/workflows/magento-2.4.yml | 33 ++++++++++++++++++- .../workflows/magento-with-replacements.yml | 1 - Test/CustomTestCase.php | 25 -------------- Test/ExampleTest.php | 2 +- magento/Dockerfile-2.4 | 1 + magento/scripts/downgrade-monolog.php | 6 +++- 7 files changed, 39 insertions(+), 30 deletions(-) delete mode 100644 Test/CustomTestCase.php diff --git a/.github/workflows/magento-2.3.yml b/.github/workflows/magento-2.3.yml index eaa2c76..d2ce98a 100644 --- a/.github/workflows/magento-2.3.yml +++ b/.github/workflows/magento-2.3.yml @@ -109,7 +109,6 @@ jobs: docker exec magento-project-community-edition mkdir -p /data/extensions/MichielGerritsen-ExampleTest/Test/Integration/ docker cp Test/composer.json magento-project-community-edition:/data/extensions/MichielGerritsen-ExampleTest/ docker cp Test/ExampleTest.php magento-project-community-edition:/data/extensions/MichielGerritsen-ExampleTest/Test/Integration/ - docker cp Test/CustomTestCase.php magento-project-community-edition:/data/extensions/MichielGerritsen-ExampleTest/Test/Integration/ - name: Install the example test module run: docker exec magento-project-community-edition composer require michielgerritsen/exampletest:@dev diff --git a/.github/workflows/magento-2.4.yml b/.github/workflows/magento-2.4.yml index 6be21e1..af6f773 100644 --- a/.github/workflows/magento-2.4.yml +++ b/.github/workflows/magento-2.4.yml @@ -12,16 +12,48 @@ jobs: fail-fast: false matrix: cfg: + - { PHP_VERSION: php82-fpm, MAGENTO_VERSION: 2.4.7-beta2, SAMPLE_DATA: false } + - { PHP_VERSION: php82-fpm, MAGENTO_VERSION: 2.4.7-beta2, SAMPLE_DATA: true } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.7-beta2, SAMPLE_DATA: false } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.7-beta2, SAMPLE_DATA: true } + - { PHP_VERSION: php82-fpm, MAGENTO_VERSION: 2.4.6-p3, SAMPLE_DATA: false } + - { PHP_VERSION: php82-fpm, MAGENTO_VERSION: 2.4.6-p3, SAMPLE_DATA: true } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.6-p3, SAMPLE_DATA: false } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.6-p3, SAMPLE_DATA: true } + # 2.4.6-p2 is disabled due to this error that keeps haunting me: + # Connection "default" is not defined +# - { PHP_VERSION: php82-fpm, MAGENTO_VERSION: 2.4.6-p2, SAMPLE_DATA: false } +# - { PHP_VERSION: php82-fpm, MAGENTO_VERSION: 2.4.6-p2, SAMPLE_DATA: true } +# - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.6-p2, SAMPLE_DATA: false } +# - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.6-p2, SAMPLE_DATA: true } + - { PHP_VERSION: php82-fpm, MAGENTO_VERSION: 2.4.6-p1, SAMPLE_DATA: false } + - { PHP_VERSION: php82-fpm, MAGENTO_VERSION: 2.4.6-p1, SAMPLE_DATA: true } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.6-p1, SAMPLE_DATA: false } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.6-p1, SAMPLE_DATA: true } - { PHP_VERSION: php82-fpm, MAGENTO_VERSION: 2.4.6, SAMPLE_DATA: false } - { PHP_VERSION: php82-fpm, MAGENTO_VERSION: 2.4.6, SAMPLE_DATA: true } - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.6, SAMPLE_DATA: false } - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.6, SAMPLE_DATA: true } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.5-p5, SAMPLE_DATA: false } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.5-p5, SAMPLE_DATA: true } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.5-p4, SAMPLE_DATA: false } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.5-p4, SAMPLE_DATA: true } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.5-p3, SAMPLE_DATA: false } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.5-p3, SAMPLE_DATA: true } - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.5-p2, SAMPLE_DATA: false } - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.5-p2, SAMPLE_DATA: true } - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.5-p1, SAMPLE_DATA: false } - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.5-p1, SAMPLE_DATA: true } - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.5, SAMPLE_DATA: false } - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.5, SAMPLE_DATA: true } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.4-p6, SAMPLE_DATA: false } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.4-p6, SAMPLE_DATA: true } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.4-p5, SAMPLE_DATA: false } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.4-p5, SAMPLE_DATA: true } + - { PHP_VERSION: php74-fpm, MAGENTO_VERSION: 2.4.4-p4, SAMPLE_DATA: false } + - { PHP_VERSION: php74-fpm, MAGENTO_VERSION: 2.4.4-p4, SAMPLE_DATA: true } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.4-p4, SAMPLE_DATA: false } + - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.4-p4, SAMPLE_DATA: true } - { PHP_VERSION: php74-fpm, MAGENTO_VERSION: 2.4.4-p3, SAMPLE_DATA: false } - { PHP_VERSION: php74-fpm, MAGENTO_VERSION: 2.4.4-p3, SAMPLE_DATA: true } - { PHP_VERSION: php81-fpm, MAGENTO_VERSION: 2.4.4-p3, SAMPLE_DATA: false } @@ -127,7 +159,6 @@ jobs: docker exec magento-project-community-edition mkdir -p /data/extensions/MichielGerritsen-ExampleTest/Test/Integration/ docker cp Test/composer.json magento-project-community-edition:/data/extensions/MichielGerritsen-ExampleTest/ docker cp Test/ExampleTest.php magento-project-community-edition:/data/extensions/MichielGerritsen-ExampleTest/Test/Integration/ - docker cp Test/CustomTestCase.php magento-project-community-edition:/data/extensions/MichielGerritsen-ExampleTest/Test/Integration/ - name: Install the example test module run: docker exec magento-project-community-edition composer require michielgerritsen/exampletest:@dev diff --git a/.github/workflows/magento-with-replacements.yml b/.github/workflows/magento-with-replacements.yml index eaa2163..0bc5105 100644 --- a/.github/workflows/magento-with-replacements.yml +++ b/.github/workflows/magento-with-replacements.yml @@ -46,7 +46,6 @@ jobs: docker exec magento-project-community-edition mkdir -p /data/extensions/MichielGerritsen-ExampleTest/Test/Integration/ docker cp Test/composer.json magento-project-community-edition:/data/extensions/MichielGerritsen-ExampleTest/ docker cp Test/ExampleTest.php magento-project-community-edition:/data/extensions/MichielGerritsen-ExampleTest/Test/Integration/ - docker cp Test/CustomTestCase.php magento-project-community-edition:/data/extensions/MichielGerritsen-ExampleTest/Test/Integration/ - name: Install the example test module run: docker exec magento-project-community-edition composer require michielgerritsen/exampletest:@dev diff --git a/Test/CustomTestCase.php b/Test/CustomTestCase.php deleted file mode 100644 index b4bac38..0000000 --- a/Test/CustomTestCase.php +++ /dev/null @@ -1,25 +0,0 @@ -