Skip to content

Prep 3.9.8

Prep 3.9.8 #424

name: ExtDN Integration Tests
on: [push]
jobs:
integration-tests:
name: Magento 2 Integration Tests
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"
es:
image: docker.io/wardenenv/elasticsearch:7.8
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
redis:
image: redis
ports:
- 6379:6379
options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
env:
MAGENTO_MARKETPLACE_USERNAME: ${{ secrets.MAGENTO_MARKETPLACE_USERNAME }}
MAGENTO_MARKETPLACE_PASSWORD: ${{ secrets.MAGENTO_MARKETPLACE_PASSWORD }}
MODULE_NAME: ${{ secrets.MODULE_NAME }}
COMPOSER_NAME: ${{ secrets.COMPOSER_NAME }}
steps:
- uses: actions/checkout@v2
- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: extdn/github-actions-m2/magento-integration-tests/8.3@master
env:
MAGENTO_VERSION: '2.4.7-p1'
COMPOSER_VERSION: 2
with:
magento_pre_install_script: .github/workflows/extdn-integration-tests-pre-install.sh
magento_post_install_script: .github/workflows/extdn-integration-tests-post-install.sh
- uses: extdn/github-actions-m2/magento-integration-tests/8.3@master
env:
MAGENTO_VERSION: '2.4.7-p1'
COMPOSER_VERSION: 2
with:
magento_pre_install_script: .github/workflows/extdn-integration-tests-pre-install.sh
magento_post_install_script: .github/workflows/extdn-integration-tests-post-install.sh