Skip to content

Merge pull request #9 from jbrada/package-maven-badge #14

Merge pull request #9 from jbrada/package-maven-badge

Merge pull request #9 from jbrada/package-maven-badge #14

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: extdn/github-actions-m2/magento-unit-tests/8.3@master
with:
magento_version: '2.4.7-p3'
module_name: JBrada_WellKnownChangePassword
composer_name: jbrada/module-well-known-change-password
integration-tests:
name: Integration Tests
runs-on: ubuntu-latest
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@v4
- name: M2 Integration Tests - 2.4.7-p3 & PHP 8.3
uses: extdn/github-actions-m2/magento-integration-tests/8.3@master
with:
module_name: JBrada_WellKnownChangePassword
composer_name: jbrada/module-well-known-change-password
magento_version: '2.4.7-p3'