-
Notifications
You must be signed in to change notification settings - Fork 30
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 #52 from tomkalon/feature/OP-364_Upgrade_to_Sylius…
…_1.13 Feature/op 364 upgrade to sylius 1.13
- Loading branch information
Showing
29 changed files
with
242 additions
and
240 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 |
---|---|---|
|
@@ -14,31 +14,30 @@ on: | |
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-22.04 | ||
|
||
runs-on: ubuntu-latest | ||
name: "Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }}" | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php: [8.0] | ||
php: [8.0, 8.1, 8.2, 8.3] | ||
symfony: [^5.4, ^6.0] | ||
sylius: [~1.11.0, ~1.12.0] | ||
node: [14.19] | ||
sylius: [~1.12.0, ~1.13.0] | ||
node: [18.x, 20.x] | ||
mysql: [5.7, 8.0] | ||
|
||
exclude: | ||
- | ||
sylius: ~1.11.0 | ||
symfony: ^6.0 | ||
- sylius: "~1.13.0" | ||
php: "8.0" | ||
|
||
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 | ||
|
@@ -51,7 +50,7 @@ jobs: | |
|
||
- | ||
name: Setup Node | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "${{ matrix.node }}" | ||
|
||
|
@@ -135,7 +134,7 @@ jobs: | |
name: Prepare test application database | ||
run: | | ||
(cd tests/Application && bin/console doctrine:database:create -vvv) | ||
(cd tests/Application && bin/console doctrine:schema:create -vvv) | ||
(cd tests/Application && bin/console doctrine:schema:create -vvv) | ||
- | ||
name: Prepare test application assets | ||
|
@@ -161,7 +160,7 @@ jobs: | |
|
||
- | ||
name: Run PHPStan | ||
run: vendor/bin/phpstan analyse -c phpstan.neon -l max src/ | ||
run: vendor/bin/phpstan analyse -c phpstan.neon -l 8 src/ | ||
|
||
# TODO: Temporary disabled! | ||
# - | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ Feature: Managing shipping gateway | |
And there is a registered "frank_martin_shipping_gateway" shipping gateway for this shipping method named "Transporter Gateway" | ||
And it has "IBAN" field set to "GB29 RBOS 6016 1331 9268 19" | ||
And it has "Address" field set to "Nick King, Main Square 27, Opole 45015, Poland" | ||
And the store has a product "Chicken" priced at "$2" in "Web-US" channel | ||
And the store has a product "Chicken" priced at "$2.00" in "Web-US" channel | ||
And customer "[email protected]" has placed 5 orders on the "Web-US" channel in each buying 5 "Chicken" products | ||
And those orders were placed with "Frank Martin Parcels" shipping method | ||
|
||
|
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
12 changes: 0 additions & 12 deletions
12
tests/Application/config/sylius/1.11/packages/dev/jms_serializer.yaml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/Application/config/sylius/1.11/packages/dev/swiftmailer.yaml
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
tests/Application/config/sylius/1.11/packages/jms_serializer.yaml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
tests/Application/config/sylius/1.11/packages/prod/jms_serializer.yaml
This file was deleted.
Oops, something went wrong.
148 changes: 0 additions & 148 deletions
148
tests/Application/config/sylius/1.11/packages/security.yaml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/Application/config/sylius/1.11/packages/staging/swiftmailer.yaml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/Application/config/sylius/1.11/packages/swiftmailer.yaml
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/Application/config/sylius/1.11/packages/test/security.yaml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
tests/Application/config/sylius/1.11/packages/test/swiftmailer.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.