-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from Datatrics/release/1.6.0
Release/1.6.0
- Loading branch information
Showing
80 changed files
with
503 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Lint PHP files | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
php-71: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: StephaneBour/actions-php-lint@7.1 | ||
with: | ||
dir: './' | ||
|
||
php-72: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: StephaneBour/actions-php-lint@7.2 | ||
with: | ||
dir: './' | ||
|
||
php-73: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: StephaneBour/actions-php-lint@7.3 | ||
with: | ||
dir: './' | ||
|
||
php-74: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: StephaneBour/actions-php-lint@7.4 | ||
with: | ||
dir: './' | ||
|
||
php-80: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: StephaneBour/actions-php-lint@8.0 | ||
with: | ||
dir: './' | ||
|
||
php-81: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: StephaneBour/actions-php-lint@8.1 | ||
with: | ||
dir: './' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
name: phpstan | ||
|
||
on: pull_request | ||
on: [pull_request] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
PHP_VERSION: [php72-fpm, php73-fpm, php74-fpm] | ||
MAGENTO_VERSION: [2.3.5-p1, 2.4.0] | ||
exclude: | ||
- PHP_VERSION: php73-fpm | ||
MAGENTO_VERSION: 2.3.5-p1 | ||
- PHP_VERSION: php74-fpm | ||
MAGENTO_VERSION: 2.3.5-p1 | ||
- PHP_VERSION: php72-fpm | ||
MAGENTO_VERSION: 2.4.0 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
build: | ||
strategy: | ||
matrix: | ||
include: | ||
- PHP_VERSION: php72-fpm | ||
MAGENTO_VERSION: 2.3.3 | ||
- PHP_VERSION: php73-fpm | ||
MAGENTO_VERSION: 2.3.6-p1 | ||
- PHP_VERSION: php74-fpm | ||
MAGENTO_VERSION: 2.4.2 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Start Docker | ||
run: docker run --detach --name magento-project-community-edition michielgerritsen/magento-project-community-edition:${{ matrix.PHP_VERSION }}-magento${{ matrix.MAGENTO_VERSION }} | ||
|
||
- name: Start Docker | ||
run: docker run --detach --name magento-project-community-edition michielgerritsen/magento-project-community-edition:${{ matrix.PHP_VERSION }}-magento${{ matrix.MAGENTO_VERSION }} | ||
- name: Create branch for Composer and remove version from composer.json | ||
run: git checkout -b continuous-integration-test-branch && sed -i '/version/d' ./composer.json | ||
|
||
- name: Upload our code into the docker container | ||
run: docker cp $(pwd) magento-project-community-edition:/data/extensions/ | ||
- name: Upload our code into the docker container | ||
run: docker cp $(pwd) magento-project-community-edition:/data/extensions/ | ||
|
||
- name: Install the extensions in Magento | ||
run: docker exec magento-project-community-edition composer require datatrics/magento2-integration:@dev fooman/phpstan-magento2-magic-methods:^0.7 | ||
- name: Install the extensions in Magento | ||
run: docker exec magento-project-community-edition composer require datatrics/magento2-integration:dev-continuous-integration-test-branch fooman/phpstan-magento2-magic-methods:^0.7 phpstan/phpstan:0.* | ||
|
||
- name: Run PHPStan | ||
run: docker exec magento-project-community-edition /bin/bash -c "./vendor/bin/phpstan analyse -c /data/extensions/*/phpstan.neon /data/extensions" | ||
- name: Run PHPStan | ||
run: docker exec magento-project-community-edition /bin/bash -c "./vendor/bin/phpstan analyse -c /data/extensions/*/phpstan.neon /data/extensions" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
name: setup:di:compile | ||
|
||
on: pull_request | ||
on: [pull_request] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
PHP_VERSION: [php72-fpm, php73-fpm, php74-fpm] | ||
MAGENTO_VERSION: [2.3.5-p1, 2.4.0] | ||
exclude: | ||
- PHP_VERSION: php73-fpm | ||
MAGENTO_VERSION: 2.3.5-p1 | ||
- PHP_VERSION: php74-fpm | ||
MAGENTO_VERSION: 2.3.5-p1 | ||
- PHP_VERSION: php72-fpm | ||
MAGENTO_VERSION: 2.4.0 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
build: | ||
strategy: | ||
matrix: | ||
include: | ||
- PHP_VERSION: php72-fpm | ||
MAGENTO_VERSION: 2.3.3 | ||
- PHP_VERSION: php73-fpm | ||
MAGENTO_VERSION: 2.3.6-p1 | ||
- PHP_VERSION: php74-fpm | ||
MAGENTO_VERSION: 2.4.2 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Start Docker | ||
run: docker run --detach --name magento-project-community-edition michielgerritsen/magento-project-community-edition:${{ matrix.PHP_VERSION }}-magento${{ matrix.MAGENTO_VERSION }} | ||
|
||
- name: Start Docker | ||
run: docker run --detach --name magento-project-community-edition michielgerritsen/magento-project-community-edition:${{ matrix.PHP_VERSION }}-magento${{ matrix.MAGENTO_VERSION }} | ||
- name: Create branch for Composer and remove version from composer.json | ||
run: git checkout -b continuous-integration-test-branch && sed -i '/version/d' ./composer.json | ||
|
||
- name: Upload our code into the docker container | ||
run: docker cp $(pwd) magento-project-community-edition:/data/extensions/ | ||
- name: Upload our code into the docker container | ||
run: docker cp $(pwd) magento-project-community-edition:/data/extensions/ | ||
|
||
- name: Install the extension in Magento | ||
run: docker exec magento-project-community-edition composer require datatrics/magento2-integration:@dev | ||
- name: Install the extension in Magento | ||
run: docker exec magento-project-community-edition composer require datatrics/magento2-integration:dev-continuous-integration-test-branch | ||
|
||
- name: Run setup:di:compile | ||
run: docker exec magento-project-community-edition php bin/magento setup:di:compile | ||
- name: Run setup:di:compile | ||
run: docker exec magento-project-community-edition php bin/magento setup:di:compile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.