Skip to content

Merge pull request #58 from tuyennn/feature/integration-tests #18

Merge pull request #58 from tuyennn/feature/integration-tests

Merge pull request #58 from tuyennn/feature/integration-tests #18

Workflow file for this run

name: ExtDN M2 Integration Tests
on: [ push, pull_request ]
jobs:
mage247:
name: Magento 2 Integration Tests (Magento v2.4.7)
runs-on: ubuntu-latest
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.3@master
with:
module_name: GhoSter_OutOfStockAtLast
composer_name: ghoster/module-outofstockatlast
ce_version: 2.4.7
mage246:
name: Magento 2 Integration Tests (Magento v2.4.6)
runs-on: ubuntu-latest
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.2@master
with:
module_name: GhoSter_OutOfStockAtLast
composer_name: ghoster/module-outofstockatlast
ce_version: 2.4.6
mage244:
name: Magento 2 Integration Tests (Magento v2.4.4)
runs-on: ubuntu-latest
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:7.16
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/7.4@master
with:
module_name: GhoSter_OutOfStockAtLast
composer_name: ghoster/module-outofstockatlast
ce_version: 2.4.4
mage24:
name: Magento 2 Integration Tests (Magento v2.4.3)
runs-on: ubuntu-latest
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:7.10
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/7.4@master
with:
module_name: GhoSter_OutOfStockAtLast
composer_name: ghoster/module-outofstockatlast
ce_version: 2.4.3