Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/coding-standard-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
strategy:
matrix:
php-version:
- "7.3"
- "7.4"
- "8.1"
- "8.2"
- "8.3"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/integration-test-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
strategy:
matrix:
php-version:
- "7.3"
- "7.4"
- "8.1"
- "8.2"
- "8.3"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/mess-detector-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
strategy:
matrix:
php-version:
- "7.3"
- "7.4"
- "8.1"
- "8.2"
- "8.3"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/php-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
strategy:
matrix:
php-version:
- "7.3"
- "7.4"
- "8.1"
- "8.2"
- "8.3"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/phpstan-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
strategy:
matrix:
php-version:
- "7.3"
- "7.4"
- "8.1"
- "8.2"
- "8.3"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/unit-test-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
strategy:
matrix:
php-version:
- "7.3"
- "7.4"
- "8.1"
- "8.2"
- "8.3"
Expand Down
30 changes: 16 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ jobs:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:5.7
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.8
image: docker.io/wardenenv/elasticsearch:7.17
ports:
- 9200:9200
env:
Expand All @@ -71,21 +71,23 @@ jobs:
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@v6
- name: M2 Integration Tests with Magento 2 (Php7.4)
uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
- name: M2 Integration Tests with Magento 2 (PHP 8.3)
uses: extdn/github-actions-m2/magento-integration-tests/8.3@master
with:
module_name: Foo_Bar
composer_name: foo/magento2-foobar
magento_version: '2.4.0'
magento_version: '2.4.7'
```

The following images are provided for use

|Php | Image |
|---|---|
|7.4 | extdn/github-actions-m2/magento-integration-tests/7.4@master |
|7.3 | extdn/github-actions-m2/magento-integration-tests/7.3@master |
|7.2 | extdn/github-actions-m2/magento-integration-tests/7.2@master |
|8.5 | extdn/github-actions-m2/magento-integration-tests/8.5@master |
|8.4 | extdn/github-actions-m2/magento-integration-tests/8.4@master |
|8.3 | extdn/github-actions-m2/magento-integration-tests/8.3@master |
|8.2 | extdn/github-actions-m2/magento-integration-tests/8.2@master |
|8.1 | extdn/github-actions-m2/magento-integration-tests/8.1@master |

The following inputs are required:
| with | description |
Expand All @@ -106,24 +108,24 @@ The default [phpunit.xml](https://github.com/extdn/github-actions-m2/blob/master
If this phpunit file does not work for you can provide a relative path to your own PHPUnit file via phpunit_file

```
- name: M2 Integration Tests with Magento 2 (Php7.4)
uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
- name: M2 Integration Tests with Magento 2 (PHP 8.3)
uses: extdn/github-actions-m2/magento-integration-tests/8.3@master
with:
module_name: Foo_Bar
composer_name: foo/magento2-foobar
magento_version: '2.4.0'
magento_version: '2.4.7'
phpunit_file: './path/to/phpunit.xml'
```

Sometimes it may be needed to run additional commands before tests can run. For example to add or remove additional dependencies. Use the input magento_pre_install_script to provide a relative path to this script. Example

```
- name: M2 Integration Tests with Magento 2 (Php7.4)
uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
- name: M2 Integration Tests with Magento 2 (PHP 8.3)
uses: extdn/github-actions-m2/magento-integration-tests/8.3@master
with:
module_name: Foo_Bar
composer_name: foo/magento2-foobar
magento_version: '2.4.0'
magento_version: '2.4.7'
magento_pre_install_script: './.github/integration-test-setup.sh'
```

Expand Down
6 changes: 0 additions & 6 deletions examples/extdn-integration-tests-with-elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ jobs:
COMPOSER_NAME: ${{ secrets.COMPOSER_NAME }}
steps:
- uses: actions/checkout@v6
- uses: extdn/github-actions-m2/magento-integration-tests/7.3@master
env:
MAGENTO_VERSION: '2.3.7-p3'
- uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
env:
MAGENTO_VERSION: '2.4.3-p2'
- uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
env:
MAGENTO_VERSION: '2.4.4'
Expand Down
6 changes: 0 additions & 6 deletions examples/extdn-integration-tests-with-marketplace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ jobs:
ELASTICSEARCH: 1
steps:
- uses: actions/checkout@v6
- uses: extdn/github-actions-m2/magento-integration-tests/7.3@master
env:
MAGENTO_VERSION: '2.3.7-p3'
- uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
env:
MAGENTO_VERSION: '2.4.3-p2'
- uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
env:
MAGENTO_VERSION: '2.4.4'
Expand Down
6 changes: 0 additions & 6 deletions examples/extdn-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ jobs:
COMPOSER_NAME: ${{ secrets.COMPOSER_NAME }}
steps:
- uses: actions/checkout@v6
- uses: extdn/github-actions-m2/magento-integration-tests/7.3@master
env:
MAGENTO_VERSION: '2.3.7-p3'
- uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
env:
MAGENTO_VERSION: '2.4.3-p2'
- uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
env:
MAGENTO_VERSION: '2.4.4'
Expand Down
6 changes: 0 additions & 6 deletions examples/extdn-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ jobs:
COMPOSER_NAME: ${{ secrets.COMPOSER_NAME }}
steps:
- uses: actions/checkout@v6
- uses: extdn/github-actions-m2/magento-unit-tests/7.3@master
env:
MAGENTO_VERSION: '2.3.7-p3'
- uses: extdn/github-actions-m2/magento-unit-tests/7.4@master
env:
MAGENTO_VERSION: '2.4.3-p2'
- uses: extdn/github-actions-m2/magento-unit-tests/8.1@master
env:
MAGENTO_VERSION: '2.4.4'
Expand Down
19 changes: 0 additions & 19 deletions magento-coding-standard/7.3/action.yml

This file was deleted.

19 changes: 0 additions & 19 deletions magento-coding-standard/7.4/action.yml

This file was deleted.

15 changes: 0 additions & 15 deletions magento-coding-standard/Dockerfile:7.3

This file was deleted.

15 changes: 0 additions & 15 deletions magento-coding-standard/Dockerfile:7.4

This file was deleted.

51 changes: 0 additions & 51 deletions magento-integration-tests/7.0/action.yml

This file was deleted.

51 changes: 0 additions & 51 deletions magento-integration-tests/7.1/action.yml

This file was deleted.

Loading