Skip to content

Commit 5ea1dc5

Browse files
authored
Merge pull request #8 from customgento/DEV-368-update-github-actions
Update github actions, DEV-368
2 parents 3e9e3df + 4b77383 commit 5ea1dc5

File tree

4 files changed

+306
-60
lines changed

4 files changed

+306
-60
lines changed
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: ExtDN M2 Coding Standard
2-
on:
3-
push:
4-
branches:
5-
- main
6-
pull_request:
2+
on: [push, pull_request]
73

84
jobs:
95
static:
106
name: M2 Coding Standard
117
runs-on: ubuntu-latest
128
steps:
13-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v4
1410
- uses: extdn/github-actions-m2/magento-coding-standard@master

.github/workflows/integration.yml

Lines changed: 300 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
name: ExtDN M2 Integration Tests
2-
on:
3-
push:
4-
branches:
5-
- main
6-
pull_request:
7-
2+
on: [ push, pull_request ]
83
jobs:
9-
integration-tests:
10-
name: Magento 2 Integration Tests
4+
integration-tests-2-4-4-p6-8-1:
5+
name: Magento 2.4.4-p6 PHP 8.1 Integration Tests
116
runs-on: ubuntu-latest
127
services:
138
mysql:
@@ -27,67 +22,330 @@ jobs:
2722
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
2823
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
2924
steps:
30-
- uses: actions/checkout@v2
31-
- name: M2 Integration Tests with Magento 2 Version 2.4.4-p3 (PHP 7.4)
32-
uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
25+
- uses: actions/checkout@v4
26+
- name: M2 Integration Tests with Magento 2 Version 2.4.4-p6 (PHP 8.1)
27+
uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
3328
with:
34-
module_name: Koality_MagentoPlugin
29+
module_name: CustomGento_Koality
3530
composer_name: customgento/module-koality-m2
36-
ce_version: '2.4.4-p3'
31+
ce_version: '2.4.4-p6'
3732
composer_version: '2'
38-
- uses: actions/checkout@v2
39-
- name: M2 Integration Tests with Magento 2 Version 2.4.4-p3 (PHP 8.1)
40-
uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
33+
integration-tests-2-4-4-p6-7-4:
34+
name: Magento 2.4.4-p6 PHP 7.4 Integration Tests
35+
runs-on: ubuntu-latest
36+
services:
37+
mysql:
38+
image: mysql:5.7
39+
env:
40+
MYSQL_ROOT_PASSWORD: root
41+
ports:
42+
- 3306:3306
43+
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
44+
es:
45+
image: docker.io/wardenenv/elasticsearch:7.8
46+
ports:
47+
- 9200:9200
48+
env:
49+
'discovery.type': single-node
50+
'xpack.security.enabled': false
51+
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
52+
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
53+
steps:
54+
- uses: actions/checkout@v4
55+
- name: M2 Integration Tests with Magento 2 Version 2.4.4-p6 (PHP 7.4)
56+
uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
4157
with:
42-
module_name: Koality_MagentoPlugin
58+
module_name: CustomGento_Koality
4359
composer_name: customgento/module-koality-m2
44-
ce_version: '2.4.4-p3'
60+
ce_version: '2.4.4-p6'
4561
composer_version: '2'
46-
- uses: actions/checkout@v2
47-
- name: M2 Integration Tests with Magento 2 Version 2.4.4-p4 (PHP 7.4)
62+
integration-tests-2-4-4-p5-7-4:
63+
name: Magento 2.4.4-p5 PHP 7.4 Integration Tests
64+
runs-on: ubuntu-latest
65+
services:
66+
mysql:
67+
image: mysql:5.7
68+
env:
69+
MYSQL_ROOT_PASSWORD: root
70+
ports:
71+
- 3306:3306
72+
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
73+
es:
74+
image: docker.io/wardenenv/elasticsearch:7.8
75+
ports:
76+
- 9200:9200
77+
env:
78+
'discovery.type': single-node
79+
'xpack.security.enabled': false
80+
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
81+
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
82+
steps:
83+
- uses: actions/checkout@v4
84+
- name: M2 Integration Tests with Magento 2 Version 2.4.4-p5 (PHP 7.4)
4885
uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
4986
with:
50-
module_name: Koality_MagentoPlugin
87+
module_name: CustomGento_Koality
5188
composer_name: customgento/module-koality-m2
52-
ce_version: '2.4.4-p4'
89+
ce_version: '2.4.4-p5'
5390
composer_version: '2'
54-
- uses: actions/checkout@v2
55-
- name: M2 Integration Tests with Magento 2 Version 2.4.4-p4 (PHP 8.1)
91+
integration-tests-2-4-4-p5-8-1:
92+
name: Magento 2.4.4-p5 PHP 8.1 Integration Tests
93+
runs-on: ubuntu-latest
94+
services:
95+
mysql:
96+
image: mysql:5.7
97+
env:
98+
MYSQL_ROOT_PASSWORD: root
99+
ports:
100+
- 3306:3306
101+
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
102+
es:
103+
image: docker.io/wardenenv/elasticsearch:7.8
104+
ports:
105+
- 9200:9200
106+
env:
107+
'discovery.type': single-node
108+
'xpack.security.enabled': false
109+
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
110+
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
111+
steps:
112+
- uses: actions/checkout@v4
113+
- name: M2 Integration Tests with Magento 2 Version 2.4.4-p5 (PHP 8.1)
56114
uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
57115
with:
58-
module_name: Koality_MagentoPlugin
116+
module_name: CustomGento_Koality
59117
composer_name: customgento/module-koality-m2
60-
ce_version: '2.4.4-p4'
118+
ce_version: '2.4.4-p5'
61119
composer_version: '2'
62-
- uses: actions/checkout@v2
63-
- name: M2 Integration Tests with Magento 2 Version 2.4.5-p2 (PHP 8.1)
120+
integration-tests-2-4-5-p5-8-1:
121+
name: Magento 2.4.5-p5 PHP 8.1 Integration Tests
122+
runs-on: ubuntu-latest
123+
services:
124+
mysql:
125+
image: mysql:5.7
126+
env:
127+
MYSQL_ROOT_PASSWORD: root
128+
ports:
129+
- 3306:3306
130+
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
131+
es:
132+
image: docker.io/wardenenv/elasticsearch:7.8
133+
ports:
134+
- 9200:9200
135+
env:
136+
'discovery.type': single-node
137+
'xpack.security.enabled': false
138+
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
139+
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
140+
steps:
141+
- uses: actions/checkout@v4
142+
- name: M2 Integration Tests with Magento 2 Version 2.4.5-p5 (PHP 8.1)
64143
uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
65144
with:
66-
module_name: Koality_MagentoPlugin
145+
module_name: CustomGento_Koality
67146
composer_name: customgento/module-koality-m2
68-
ce_version: '2.4.5-p2'
147+
ce_version: '2.4.5-p5'
69148
composer_version: '2'
70-
- uses: actions/checkout@v2
71-
- name: M2 Integration Tests with Magento 2 Version 2.4.5-p3 (PHP 8.1)
149+
integration-tests-2-4-5-p5-7-4:
150+
name: Magento 2.4.5-p5 PHP 7.4 Integration Tests
151+
runs-on: ubuntu-latest
152+
services:
153+
mysql:
154+
image: mysql:5.7
155+
env:
156+
MYSQL_ROOT_PASSWORD: root
157+
ports:
158+
- 3306:3306
159+
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
160+
es:
161+
image: docker.io/wardenenv/elasticsearch:7.8
162+
ports:
163+
- 9200:9200
164+
env:
165+
'discovery.type': single-node
166+
'xpack.security.enabled': false
167+
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
168+
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
169+
steps:
170+
- uses: actions/checkout@v4
171+
- name: M2 Integration Tests with Magento 2 Version 2.4.5-p5 (PHP 7.4)
172+
uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
173+
with:
174+
module_name: CustomGento_Koality
175+
composer_name: customgento/module-koality-m2
176+
ce_version: '2.4.5-p5'
177+
composer_version: '2'
178+
integration-tests-2-4-5-p4-7-4:
179+
name: Magento 2.4.5-p4 PHP 7.4 Integration Tests
180+
runs-on: ubuntu-latest
181+
services:
182+
mysql:
183+
image: mysql:5.7
184+
env:
185+
MYSQL_ROOT_PASSWORD: root
186+
ports:
187+
- 3306:3306
188+
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
189+
es:
190+
image: docker.io/wardenenv/elasticsearch:7.8
191+
ports:
192+
- 9200:9200
193+
env:
194+
'discovery.type': single-node
195+
'xpack.security.enabled': false
196+
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
197+
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
198+
steps:
199+
- uses: actions/checkout@v4
200+
- name: M2 Integration Tests with Magento 2 Version 2.4.5-p4 (PHP 7.4)
201+
uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
202+
with:
203+
module_name: CustomGento_Koality
204+
composer_name: customgento/module-koality-m2
205+
ce_version: '2.4.5-p4'
206+
composer_version: '2'
207+
integration-tests-2-4-5-p4-8-1:
208+
name: Magento 2.4.5-p4 PHP 8.1 Integration Tests
209+
runs-on: ubuntu-latest
210+
services:
211+
mysql:
212+
image: mysql:5.7
213+
env:
214+
MYSQL_ROOT_PASSWORD: root
215+
ports:
216+
- 3306:3306
217+
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
218+
es:
219+
image: docker.io/wardenenv/elasticsearch:7.8
220+
ports:
221+
- 9200:9200
222+
env:
223+
'discovery.type': single-node
224+
'xpack.security.enabled': false
225+
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
226+
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
227+
steps:
228+
- uses: actions/checkout@v4
229+
- name: M2 Integration Tests with Magento 2 Version 2.4.5-p4 (PHP 8.1)
72230
uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
73231
with:
74-
module_name: Koality_MagentoPlugin
232+
module_name: CustomGento_Koality
75233
composer_name: customgento/module-koality-m2
76-
ce_version: '2.4.5-p3'
234+
ce_version: '2.4.5-p4'
77235
composer_version: '2'
78-
- uses: actions/checkout@v2
79-
- name: M2 Integration Tests with Magento 2 Version 2.4.6 (PHP 8.1)
236+
integration-tests-2-4-6-p3-8-1:
237+
name: Magento 2.4.6-p3 PHP 8.1 Integration Tests
238+
runs-on: ubuntu-latest
239+
services:
240+
mysql:
241+
image: mysql:5.7
242+
env:
243+
MYSQL_ROOT_PASSWORD: root
244+
ports:
245+
- 3306:3306
246+
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
247+
es:
248+
image: docker.io/wardenenv/elasticsearch:7.8
249+
ports:
250+
- 9200:9200
251+
env:
252+
'discovery.type': single-node
253+
'xpack.security.enabled': false
254+
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
255+
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
256+
steps:
257+
- uses: actions/checkout@v4
258+
- name: M2 Integration Tests with Magento 2 Version 2.4.6-p3 (PHP 8.1)
80259
uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
81260
with:
82-
module_name: Koality_MagentoPlugin
261+
module_name: CustomGento_Koality
83262
composer_name: customgento/module-koality-m2
84-
ce_version: '2.4.6'
263+
ce_version: '2.4.6-p3'
85264
composer_version: '2'
86-
- uses: actions/checkout@v2
87-
- name: M2 Integration Tests with Magento 2 Version 2.4.6-p1 (PHP 8.1)
265+
integration-tests-2-4-6-p3-8-2:
266+
name: Magento 2.4.6-p3 PHP 8.2 Integration Tests
267+
runs-on: ubuntu-latest
268+
services:
269+
mysql:
270+
image: mysql:5.7
271+
env:
272+
MYSQL_ROOT_PASSWORD: root
273+
ports:
274+
- 3306:3306
275+
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
276+
es:
277+
image: docker.io/wardenenv/elasticsearch:7.8
278+
ports:
279+
- 9200:9200
280+
env:
281+
'discovery.type': single-node
282+
'xpack.security.enabled': false
283+
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
284+
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
285+
steps:
286+
- uses: actions/checkout@v4
287+
- name: M2 Integration Tests with Magento 2 Version 2.4.6-p3 (PHP 8.2)
288+
uses: extdn/github-actions-m2/magento-integration-tests/8.2@master
289+
with:
290+
module_name: CustomGento_Koality
291+
composer_name: customgento/module-koality-m2
292+
ce_version: '2.4.6-p3'
293+
composer_version: '2'
294+
integration-tests-2-4-6-p2-8-2:
295+
name: Magento 2.4.6-p2 PHP 8.2 Integration Tests
296+
runs-on: ubuntu-latest
297+
services:
298+
mysql:
299+
image: mysql:5.7
300+
env:
301+
MYSQL_ROOT_PASSWORD: root
302+
ports:
303+
- 3306:3306
304+
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
305+
es:
306+
image: docker.io/wardenenv/elasticsearch:7.8
307+
ports:
308+
- 9200:9200
309+
env:
310+
'discovery.type': single-node
311+
'xpack.security.enabled': false
312+
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
313+
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
314+
steps:
315+
- uses: actions/checkout@v4
316+
- name: M2 Integration Tests with Magento 2 Version 2.4.6-p2 (PHP 8.2)
317+
uses: extdn/github-actions-m2/magento-integration-tests/8.2@master
318+
with:
319+
module_name: CustomGento_Koality
320+
composer_name: customgento/module-koality-m2
321+
ce_version: '2.4.6-p2'
322+
composer_version: '2'
323+
integration-tests-2-4-6-p2-8-1:
324+
name: Magento 2.4.6-p2 PHP 8.1 Integration Tests
325+
runs-on: ubuntu-latest
326+
services:
327+
mysql:
328+
image: mysql:5.7
329+
env:
330+
MYSQL_ROOT_PASSWORD: root
331+
ports:
332+
- 3306:3306
333+
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
334+
es:
335+
image: docker.io/wardenenv/elasticsearch:7.8
336+
ports:
337+
- 9200:9200
338+
env:
339+
'discovery.type': single-node
340+
'xpack.security.enabled': false
341+
ES_JAVA_OPTS: "-Xms64m -Xmx512m"
342+
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3
343+
steps:
344+
- uses: actions/checkout@v4
345+
- name: M2 Integration Tests with Magento 2 Version 2.4.6-p2 (PHP 8.1)
88346
uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
89347
with:
90-
module_name: Koality_MagentoPlugin
348+
module_name: CustomGento_Koality
91349
composer_name: customgento/module-koality-m2
92-
ce_version: '2.4.6-p1'
350+
ce_version: '2.4.6-p2'
93351
composer_version: '2'

0 commit comments

Comments
 (0)