Skip to content

Commit 735c712

Browse files
committed
Add Magento 2 Integration 2.4.8
1 parent ba3e791 commit 735c712

1 file changed

Lines changed: 35 additions & 6 deletions

File tree

.github/workflows/integration.yml

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,55 @@
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: mariadb:11.4
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+
opensearch:
17+
image: opensearchproject/opensearch:2
18+
ports:
19+
- 9200:9200
20+
env:
21+
'discovery.type': single-node
22+
'plugins.security.disabled': true
23+
OPENSEARCH_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)
736
runs-on: ubuntu-22.04
837
services:
938
mysql:
10-
image: mysql:8.0
39+
image: mariadb:10.6
1140
env:
1241
MYSQL_ROOT_PASSWORD: root
1342
ports:
1443
- 3306:3306
1544
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
45+
opensearch:
46+
image: opensearchproject/opensearch:2
1847
ports:
1948
- 9200:9200
2049
env:
2150
'discovery.type': single-node
22-
'xpack.security.enabled': false
23-
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
51+
'plugins.security.disabled': true
52+
OPENSEARCH_JAVA_OPTS: "-Xms64m -Xmx512m"
2453
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
2554
steps:
2655
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)