Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 38 additions & 5 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,39 @@
name: ExtDN M2 Integration Tests
on: [ push, pull_request ]
on: [ pull_request ]

jobs:
mage248:
name: Magento 2 Integration Tests (Magento v2.4.8)
runs-on: ubuntu-22.04
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@v2
- name: M2 Integration Tests with Magento 2
uses: extdn/github-actions-m2/magento-integration-tests/8.4@master
with:
module_name: GhoSter_OutOfStockAtLast
composer_name: ghoster/module-outofstockatlast
ce_version: 2.4.8
block_insecure: false
mage247:
name: Magento 2 Integration Tests (Magento v2.4.7)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
services:
mysql:
image: mysql:8.0
Expand All @@ -30,10 +59,11 @@ jobs:
module_name: GhoSter_OutOfStockAtLast
composer_name: ghoster/module-outofstockatlast
ce_version: 2.4.7
block_insecure: false

mage246:
name: Magento 2 Integration Tests (Magento v2.4.6)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
services:
mysql:
image: mysql:8.0
Expand All @@ -59,10 +89,11 @@ jobs:
module_name: GhoSter_OutOfStockAtLast
composer_name: ghoster/module-outofstockatlast
ce_version: 2.4.6
block_insecure: false

mage244:
name: Magento 2 Integration Tests (Magento v2.4.4)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
services:
mysql:
image: mysql:8.0
Expand All @@ -88,10 +119,11 @@ jobs:
module_name: GhoSter_OutOfStockAtLast
composer_name: ghoster/module-outofstockatlast
ce_version: 2.4.4
block_insecure: false

mage24:
name: Magento 2 Integration Tests (Magento v2.4.3)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
services:
mysql:
image: mysql:8.0
Expand All @@ -117,3 +149,4 @@ jobs:
module_name: GhoSter_OutOfStockAtLast
composer_name: ghoster/module-outofstockatlast
ce_version: 2.4.3
block_insecure: false
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,24 @@
- Sort Out Of Stock Product At last the product list
- Compatibility with `smile/elasticsuite^2.11`
- Firstly `Display Out of Stock Products` from `Stores > Configuration > Catalog > Inventory > Stock Options` must be set `Yes`
- Of course, we are talking about Elastic Search. We don't support **old search engine**
- Of course, we are talking about ElasticSearch or OpenSearch. We don't support **old search engine**
- From time to time we remind you **Reindexing after you enable the module**


## Compatibility

| Magento Version (Open Source/Commerce) | Elasticsearch | OpenSearch | ElasticSuite | Supported |
| -------------------------------------- | ------------- | ---------- | ------------ | --------- |
| **2.0.x** | 2.x | - | 2.1.x | No ❌ |
| **2.1.x** | 2.x & 5.x | - | 2.3.x | No ❌ |
| **2.2.x** | 5.x & 6.x | - | 2.6.x | No ❌ |
| **<2.3.2** | 5.x & 6.x | - | 2.8.4 | No ❌ |
| **<2.3.5** | 5.x & 6.x | - | 2.8.x | No ❌ |
| **>=2.3.5** | 6.x & 7.x | - | 2.9.x | No ❌ |
| **2.4.0** | 6.x & 7.x | - | 2.10.1 | Yes ✔️ |
| **>=2.4.1 && < 2.4.6** | 6.x & 7.x | - | 2.10.x | Yes ✔️ |
| **>=2.4.6** | 7.x & 8.x | 1.x & 2.x | >=2.11.x | Yes ✔️ |
|--------------------------------------|---------------|------------|--------------| --------- |
| **2.0.x** | 2.x | - | 2.1.x | No ❌ |
| **2.1.x** | 2.x & 5.x | - | 2.3.x | No ❌ |
| **2.2.x** | 5.x & 6.x | - | 2.6.x | No ❌ |
| **<2.3.2** | 5.x & 6.x | - | 2.8.4 | No ❌ |
| **<2.3.5** | 5.x & 6.x | - | 2.8.x | No ❌ |
| **>=2.3.5** | 6.x & 7.x | - | 2.9.x | No ❌ |
| **2.4.0** | 6.x & 7.x | - | 2.10.1 | Yes ✔️ |
| **>=2.4.1 && < 2.4.6** | 6.x & 7.x | - | 2.10.x | Yes ✔️ |
| **>=2.4.6 && < 2.4.8 | 7.x & 8.x | 1.x & 2.x | >=2.11.x | Yes ✔️ |
| **>=2.4.8** | - | 3.x | >=2.11.13 | Yes ✔️ |



Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ghoster/module-outofstockatlast",
"description": "Magento 2.4.x module Sort Out Of Stock Product At last the product list",
"require": {
"php": ">=8.1.0",
"php": ">=7.4",
"magento/framework": ">=102.0.0"
},
"minimum-stability": "stable",
Expand Down
Loading