Skip to content

Commit 9d04120

Browse files
committed
Add Magento 2 Integration 2.4.8
1 parent 19d98fe commit 9d04120

3 files changed

Lines changed: 79 additions & 16 deletions

File tree

.github/workflows/integration.yml

Lines changed: 66 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,39 @@
11
name: ExtDN M2 Integration Tests
2-
on: [ push, pull_request ]
2+
on: [ pull_request ]
33

44
jobs:
5+
mage248:
6+
name: Magento 2 Integration Tests (Magento v2.4.8)
7+
runs-on: ubuntu-22.04
8+
services:
9+
mysql:
10+
image: mysql:8.0
11+
env:
12+
MYSQL_ROOT_PASSWORD: root
13+
ports:
14+
- 3306:3306
15+
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
16+
es:
17+
image: docker.io/wardenenv/elasticsearch:8.1
18+
ports:
19+
- 9200:9200
20+
env:
21+
'discovery.type': single-node
22+
'xpack.security.enabled': false
23+
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
24+
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
25+
steps:
26+
- uses: actions/checkout@v2
27+
- name: M2 Integration Tests with Magento 2
28+
uses: extdn/github-actions-m2/magento-integration-tests/8.4@master
29+
with:
30+
module_name: GhoSter_OutOfStockAtLast
31+
composer_name: ghoster/module-outofstockatlast
32+
ce_version: 2.4.8
33+
block_insecure: false
534
mage247:
635
name: Magento 2 Integration Tests (Magento v2.4.7)
7-
runs-on: ubuntu-latest
36+
runs-on: ubuntu-22.04
837
services:
938
mysql:
1039
image: mysql:8.0
@@ -30,10 +59,11 @@ jobs:
3059
module_name: GhoSter_OutOfStockAtLast
3160
composer_name: ghoster/module-outofstockatlast
3261
ce_version: 2.4.7
62+
block_insecure: false
3363

3464
mage246:
3565
name: Magento 2 Integration Tests (Magento v2.4.6)
36-
runs-on: ubuntu-latest
66+
runs-on: ubuntu-22.04
3767
services:
3868
mysql:
3969
image: mysql:8.0
@@ -59,10 +89,11 @@ jobs:
5989
module_name: GhoSter_OutOfStockAtLast
6090
composer_name: ghoster/module-outofstockatlast
6191
ce_version: 2.4.6
92+
block_insecure: false
6293

6394
mage244:
6495
name: Magento 2 Integration Tests (Magento v2.4.4)
65-
runs-on: ubuntu-latest
96+
runs-on: ubuntu-22.04
6697
services:
6798
mysql:
6899
image: mysql:8.0
@@ -88,3 +119,34 @@ jobs:
88119
module_name: GhoSter_OutOfStockAtLast
89120
composer_name: ghoster/module-outofstockatlast
90121
ce_version: 2.4.4
122+
block_insecure: false
123+
124+
mage24:
125+
name: Magento 2 Integration Tests (Magento v2.4.3)
126+
runs-on: ubuntu-22.04
127+
services:
128+
mysql:
129+
image: mysql:8.0
130+
env:
131+
MYSQL_ROOT_PASSWORD: root
132+
ports:
133+
- 3306:3306
134+
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
135+
es:
136+
image: docker.io/wardenenv/elasticsearch:7.10
137+
ports:
138+
- 9200:9200
139+
env:
140+
'discovery.type': single-node
141+
'xpack.security.enabled': false
142+
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
143+
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
144+
steps:
145+
- uses: actions/checkout@v2
146+
- name: M2 Integration Tests with Magento 2
147+
uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
148+
with:
149+
module_name: GhoSter_OutOfStockAtLast
150+
composer_name: ghoster/module-outofstockatlast
151+
ce_version: 2.4.3
152+
block_insecure: false

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,24 @@
1818
- Sort Out Of Stock Product At last the product list
1919
- Compatibility with `smile/elasticsuite^2.11`
2020
- Firstly `Display Out of Stock Products` from `Stores > Configuration > Catalog > Inventory > Stock Options` must be set `Yes`
21-
- Of course, we are talking about Elastic Search. We don't support **old search engine**
21+
- Of course, we are talking about ElasticSearch or OpenSearch. We don't support **old search engine**
2222
- From time to time we remind you **Reindexing after you enable the module**
2323

2424

2525
## Compatibility
2626

2727
| Magento Version (Open Source/Commerce) | Elasticsearch | OpenSearch | ElasticSuite | Supported |
28-
| -------------------------------------- | ------------- | ---------- | ------------ | --------- |
29-
| **2.0.x** | 2.x | - | 2.1.x | No ❌ |
30-
| **2.1.x** | 2.x & 5.x | - | 2.3.x | No ❌ |
31-
| **2.2.x** | 5.x & 6.x | - | 2.6.x | No ❌ |
32-
| **<2.3.2** | 5.x & 6.x | - | 2.8.4 | No ❌ |
33-
| **<2.3.5** | 5.x & 6.x | - | 2.8.x | No ❌ |
34-
| **>=2.3.5** | 6.x & 7.x | - | 2.9.x | No ❌ |
35-
| **2.4.0** | 6.x & 7.x | - | 2.10.1 | Yes ✔️ |
36-
| **>=2.4.1 && < 2.4.6** | 6.x & 7.x | - | 2.10.x | Yes ✔️ |
37-
| **>=2.4.6** | 7.x & 8.x | 1.x & 2.x | >=2.11.x | Yes ✔️ |
28+
|--------------------------------------|---------------|------------|--------------| --------- |
29+
| **2.0.x** | 2.x | - | 2.1.x | No ❌ |
30+
| **2.1.x** | 2.x & 5.x | - | 2.3.x | No ❌ |
31+
| **2.2.x** | 5.x & 6.x | - | 2.6.x | No ❌ |
32+
| **<2.3.2** | 5.x & 6.x | - | 2.8.4 | No ❌ |
33+
| **<2.3.5** | 5.x & 6.x | - | 2.8.x | No ❌ |
34+
| **>=2.3.5** | 6.x & 7.x | - | 2.9.x | No ❌ |
35+
| **2.4.0** | 6.x & 7.x | - | 2.10.1 | Yes ✔️ |
36+
| **>=2.4.1 && < 2.4.6** | 6.x & 7.x | - | 2.10.x | Yes ✔️ |
37+
| **>=2.4.6 && < 2.4.8 | 7.x & 8.x | 1.x & 2.x | >=2.11.x | Yes ✔️ |
38+
| **>=2.4.8** | - | 3.x | >=2.11.13 | Yes ✔️ |
3839

3940

4041

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "ghoster/module-outofstockatlast",
33
"description": "Magento 2.4.x module Sort Out Of Stock Product At last the product list",
44
"require": {
5-
"php": ">=8.1.0",
5+
"php": ">=7.4",
66
"magento/framework": ">=102.0.0"
77
},
88
"minimum-stability": "stable",

0 commit comments

Comments
 (0)