Skip to content

Merge pull request #1344 from buckaroo-it/BP-4667-Remove-unnecessary-… #1461

Merge pull request #1344 from buckaroo-it/BP-4667-Remove-unnecessary-…

Merge pull request #1344 from buckaroo-it/BP-4667-Remove-unnecessary-… #1461

Workflow file for this run

name: M2 Integration Tests

Check failure on line 1 in .github/workflows/integration.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/integration.yml

Invalid workflow file

(Line: 48, Col: 15): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.php
on:
push:
branches:
- master
pull_request:
jobs:
integration-tests:
name: Integration Tests - PHP ${{ matrix.php }} / Magento ${{ matrix.magento }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- php: '8.1'
magento: '2.4.6'
- php: '8.2'
magento: '2.4.6'
- php: '8.2'
magento: '2.4.7'
- php: '8.3'
magento: '2.4.7'
- php: '8.3'
magento: '2.4.8'
- php: '8.4'
magento: '2.4.8'
services:
mysql:
image: mysql:5.7
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.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
steps:
- uses: actions/checkout@v3
- name: M2 Integration Tests with Magento ${{ matrix.magento }} (PHP ${{ matrix.php }})
uses: extdn/github-actions-m2/magento-integration-tests/${{ matrix.php }}@master
with:
module_name: Buckaroo_Magento2
composer_name: buckaroo/magento2
ce_version: ${{ matrix.magento }}