@@ -54,14 +54,14 @@ jobs:
5454 runs-on: ubuntu-latest
5555 services:
5656 mysql:
57- image: mysql:5.7
57+ image: mysql:8.4
5858 env:
5959 MYSQL_ROOT_PASSWORD: root
6060 ports:
6161 - 3306:3306
6262 options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
6363 es:
64- image: docker.io/wardenenv/elasticsearch:7.8
64+ image: docker.io/wardenenv/elasticsearch:8.18
6565 ports:
6666 - 9200:9200
6767 env:
@@ -71,21 +71,23 @@ jobs:
7171 options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
7272 steps:
7373 - uses: actions/checkout@v6
74- - name: M2 Integration Tests with Magento 2 (Php7.4 )
75- uses: extdn/github-actions-m2/magento-integration-tests/7.4 @master
74+ - name: M2 Integration Tests with Magento 2 (PHP 8.5 )
75+ uses: extdn/github-actions-m2/magento-integration-tests/8.5 @master
7676 with:
7777 module_name: Foo_Bar
7878 composer_name: foo/magento2-foobar
79- magento_version: '2.4.0 '
79+ magento_version: '2.4.9 '
8080```
8181
8282The following images are provided for use
8383
8484| Php | Image |
8585| ---| ---|
86- | 7.4 | extdn/github-actions-m2/magento-integration-tests/7.4@master |
87- | 7.3 | extdn/github-actions-m2/magento-integration-tests/7.3@master |
88- | 7.2 | extdn/github-actions-m2/magento-integration-tests/7.2@master |
86+ | 8.5 | extdn/github-actions-m2/magento-integration-tests/8.5@master |
87+ | 8.4 | extdn/github-actions-m2/magento-integration-tests/8.4@master |
88+ | 8.3 | extdn/github-actions-m2/magento-integration-tests/8.3@master |
89+ | 8.2 | extdn/github-actions-m2/magento-integration-tests/8.2@master |
90+ | 8.1 | extdn/github-actions-m2/magento-integration-tests/8.1@master |
8991
9092The following inputs are required:
9193| with | description |
@@ -106,24 +108,24 @@ The default [phpunit.xml](https://github.com/extdn/github-actions-m2/blob/master
106108If this phpunit file does not work for you can provide a relative path to your own PHPUnit file via phpunit_file
107109
108110```
109- - name: M2 Integration Tests with Magento 2 (Php7.4 )
110- uses: extdn/github-actions-m2/magento-integration-tests/7.4 @master
111+ - name: M2 Integration Tests with Magento 2 (PHP 8.5 )
112+ uses: extdn/github-actions-m2/magento-integration-tests/8.5 @master
111113 with:
112114 module_name: Foo_Bar
113115 composer_name: foo/magento2-foobar
114- magento_version: '2.4.0 '
116+ magento_version: '2.4.9 '
115117 phpunit_file: './path/to/phpunit.xml'
116118```
117119
118120Sometimes it may be needed to run additional commands before tests can run. For example to add or remove additional dependencies. Use the input magento_pre_install_script to provide a relative path to this script. Example
119121
120122```
121- - name: M2 Integration Tests with Magento 2 (Php7.4 )
122- uses: extdn/github-actions-m2/magento-integration-tests/7.4 @master
123+ - name: M2 Integration Tests with Magento 2 (PHP 8.5 )
124+ uses: extdn/github-actions-m2/magento-integration-tests/8.5 @master
123125 with:
124126 module_name: Foo_Bar
125127 composer_name: foo/magento2-foobar
126- magento_version: '2.4.0 '
128+ magento_version: '2.4.9 '
127129 magento_pre_install_script: './.github/integration-test-setup.sh'
128130```
129131
@@ -207,7 +209,7 @@ jobs:
207209 runs-on: ubuntu-latest
208210 steps:
209211 - uses: actions/checkout@v6
210- - uses: extdn/github-actions-m2/magento-phpstan/8.1 @master
212+ - uses: extdn/github-actions-m2/magento-phpstan/8.5 @master
211213 with:
212214 composer_name: foo/magento2-foobar
213215```
0 commit comments