diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 081828b..3d3d222 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -2,6 +2,35 @@ name: ExtDN M2 Integration Tests on: [ push, pull_request ] jobs: + mage247: + name: Magento 2 Integration Tests (Magento v2.4.7) + runs-on: ubuntu-latest + services: + mysql: + image: mysql:8.0 + env: + MYSQL_ROOT_PASSWORD: root + ports: + - 3306:3306 + options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 + es: + image: docker.io/wardenenv/elasticsearch:8.1 + ports: + - 9200:9200 + env: + 'discovery.type': single-node + 'xpack.security.enabled': false + ES_JAVA_OPTS: "-Xms64m -Xmx512m" + options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3 + steps: + - uses: actions/checkout@v4 + - name: M2 Integration Tests with Magento 2 + uses: extdn/github-actions-m2/magento-integration-tests/8.3@master + with: + module_name: EthanYehuda_CronjobManager + composer_name: ethanyehuda/magento2-cronjobmanager + ce_version: 2.4.7 + mage246: name: Magento 2 Integration Tests (Magento v2.4.6) runs-on: ubuntu-latest diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 6401cf0..778d219 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -2,6 +2,18 @@ name: ExtDN M2 Unit Tests on: [ push, pull_request ] jobs: + unit-tests-mage247: + name: Magento 2 Unit Tests (M 2.4.7) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: extdn/github-actions-m2/magento-unit-tests/8.3@master + env: + MODULE_NAME: EthanYehuda_CronjobManager + COMPOSER_NAME: ethanyehuda/magento2-cronjobmanager + COMPOSER_VERSION: 2 + MAGENTO_VERSION: '2.4.7' + unit-tests-mage246: name: Magento 2 Unit Tests (M 2.4.6) runs-on: ubuntu-latest diff --git a/composer.json b/composer.json index f0b1cfd..ff2f981 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "ethanyehuda/magento2-cronjobmanager", "description": "A module for managing scheduled cron jobs from magento's admin panel", "require": { - "php": "~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "ext-posix": "*", "magento/framework": "^102.0 || ^103.0", "magento/module-backend": "^100.0 || ^101.0 || ^102.0",