-
Notifications
You must be signed in to change notification settings - Fork 3
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 #49 from tomkalon/feature/op-451-refactored
Feature/OP-451 - Added Sylius 1.13 Support and refactored files structure
- Loading branch information
Showing
87 changed files
with
835 additions
and
837 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,25 +20,24 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
php: ["8.0"] | ||
symfony: ["^5.4", "^6.0"] | ||
sylius: ["~1.11.0", "~1.12.0"] | ||
node: ["^14.17.x"] | ||
mysql: ["5.7", "8.0"] | ||
|
||
php: [ "8.0", "8.1", "8.2", "8.3" ] | ||
symfony: [ "^5.4", "^6.0" ] | ||
sylius: [ "~1.12.0", "~1.13.0" ] | ||
node: [ "18.x", "20.x" ] | ||
mysql: [ "8.0" ] | ||
exclude: | ||
- # Segmentation fault while clearing cache | ||
php: 8.0 | ||
mysql: 5.7 | ||
- sylius: ~1.11.0 | ||
symfony: ^6.0 | ||
- sylius: "~1.13.0" | ||
php: "8.0" | ||
- sylius: "~1.12.0" | ||
php: "8.0" | ||
symfony: "^6.4" | ||
|
||
env: | ||
APP_ENV: test | ||
DATABASE_URL: "mysql://root:[email protected]/sylius?serverVersion=${{ matrix.mysql }}" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
|
@@ -49,7 +48,7 @@ jobs: | |
coverage: none | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "${{ matrix.node }}" | ||
|
||
|
@@ -152,25 +151,35 @@ jobs: | |
- name: Run PHPSpec | ||
run: vendor/bin/phpspec run --ansi -f progress --no-interaction | ||
|
||
- name: Run PHPUnit | ||
run: vendor/bin/phpunit --colors=always | ||
|
||
- | ||
name: Run PHPStan | ||
run: vendor/bin/phpstan analyse -c phpstan.neon.dist -l 8 src/ | ||
|
||
- name: Run ECS | ||
run: vendor/bin/ecs | ||
|
||
- name: Run Behat | ||
run: vendor/bin/behat --colors --strict -vvv --no-interaction || vendor/bin/behat --colors --strict -vvv --no-interaction --rerun | ||
|
||
- name: Upload Behat logs | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
if: failure() | ||
with: | ||
name: Behat logs | ||
path: etc/build/ | ||
if-no-files-found: ignore | ||
|
||
- name: Upload test log logs | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
if: failure() | ||
with: | ||
name: Var logs | ||
path: tests/Application/var/log/ | ||
if-no-files-found: ignore | ||
|
||
- name: Failed build Slack notification | ||
uses: rtCamp/action-slack-notify@v2 | ||
if: ${{ failure() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') }} | ||
|
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.