-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #237 [Maintenance] Support release of sylius 1.11 (SirDomin)
This PR was merged into the 1.4 branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | master | Bug fix? | no | New feature? | no | Related tickets | Commits ------- dceca02 [Maintenance] bump node version ca43fc5 [Maintenance] bump sylius version to support 1.11 release 9b21621 [Build] add suites for 1.10 b9a80eb [GithubActions] support sylius 1.10 with php 7.4 30ae735 [Maintenance] rebase to 1.4, fix composer
- Loading branch information
Showing
5 changed files
with
183 additions
and
6 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,13 +20,13 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
php: ["7.4", "8.0"] | ||
node: ["10.x"] | ||
node: ["14.x"] | ||
mysql: ["5.7", "8.0"] | ||
symfony: ["^4.4", "^5.4"] | ||
sylius: ["~1.10.0", "^1.11.0-alpha"] | ||
sylius: ["1.10.*", "1.11.*"] | ||
exclude: | ||
- php: "7.4" | ||
sylius: "^1.11.0-alpha" | ||
sylius: "1.11.*" | ||
env: | ||
APP_ENV: test | ||
DATABASE_URL: "mysql://root:[email protected]/sylius?serverVersion=${{ matrix.mysql }}" | ||
|
@@ -117,6 +117,12 @@ jobs: | |
name: Install JS dependencies | ||
run: (cd tests/Application && yarn install) | ||
|
||
- | ||
name: Prepare configuration for Sylius 1.10 | ||
if: matrix.sylius == '1.10.*' | ||
run: | | ||
rm tests/Behat/Resources/suites.yml | ||
cp tests/Behat/Resources/sylius-1.10/suites.yml tests/Behat/Resources | ||
- | ||
name: Prepare test application database | ||
run: | | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
# This file is part of the Sylius package. | ||
# (c) Paweł Jędrzejewski | ||
|
||
default: | ||
suites: | ||
ui_checkout: | ||
contexts: | ||
- sylius.behat.context.hook.doctrine_orm | ||
- sylius.behat.context.hook.email_spool | ||
|
||
- sylius.behat.context.transform.address | ||
- sylius.behat.context.transform.country | ||
- sylius.behat.context.transform.channel | ||
- sylius.behat.context.transform.currency | ||
- sylius.behat.context.transform.customer | ||
- sylius.behat.context.transform.lexical | ||
- sylius.behat.context.transform.locale | ||
- sylius.behat.context.transform.order | ||
- sylius.behat.context.transform.payment | ||
- sylius.behat.context.transform.product | ||
- sylius.behat.context.transform.product_option | ||
- sylius.behat.context.transform.province | ||
- sylius.behat.context.transform.shared_storage | ||
- sylius.behat.context.transform.shipping_category | ||
- sylius.behat.context.transform.shipping_method | ||
- sylius.behat.context.transform.tax_category | ||
- sylius.behat.context.transform.user | ||
- sylius.behat.context.transform.zone | ||
|
||
- sylius.behat.context.setup.address | ||
- sylius.behat.context.setup.admin_user | ||
- sylius.behat.context.setup.channel | ||
- sylius.behat.context.setup.currency | ||
- sylius.behat.context.setup.customer | ||
- sylius.behat.context.setup.exchange_rate | ||
- sylius.behat.context.setup.geographical | ||
- sylius.behat.context.setup.locale | ||
- sylius.behat.context.setup.payment | ||
- sylius.behat.context.setup.product | ||
- sylius.behat.context.setup.promotion | ||
- sylius.behat.context.setup.shop_security | ||
- sylius.behat.context.setup.shipping | ||
- sylius.behat.context.setup.shipping_category | ||
- sylius.behat.context.setup.taxation | ||
- sylius.behat.context.setup.user | ||
- sylius.behat.context.setup.zone | ||
- Tests\Sylius\PayPalPlugin\Behat\Context\Setup\PaymentPayPalContext | ||
|
||
- sylius.behat.context.ui.admin.managing_orders | ||
- sylius.behat.context.ui.channel | ||
- sylius.behat.context.ui.email | ||
- sylius.behat.context.ui.shop.address_book | ||
- sylius.behat.context.ui.shop.cart | ||
- sylius.behat.context.ui.shop.checkout | ||
- sylius.behat.context.ui.shop.checkout.addressing | ||
- sylius.behat.context.ui.shop.checkout.complete | ||
- sylius.behat.context.ui.shop.checkout.payment | ||
- sylius.behat.context.ui.shop.checkout.shipping | ||
- sylius.behat.context.ui.shop.checkout.thank_you | ||
- sylius.behat.context.ui.shop.checkout.registration_after_checkout | ||
- sylius.behat.context.ui.shop.currency | ||
- sylius.behat.context.ui.shop.homepage | ||
- sylius.behat.context.ui.shop.locale | ||
|
||
filters: | ||
tags: "@checkout && @ui" | ||
ui_managing_payment_methods: | ||
contexts: | ||
- sylius.behat.context.hook.doctrine_orm | ||
|
||
- sylius.behat.context.transform.address | ||
- sylius.behat.context.transform.channel | ||
- sylius.behat.context.transform.country | ||
- sylius.behat.context.transform.customer | ||
- sylius.behat.context.transform.order | ||
- sylius.behat.context.transform.payment | ||
- sylius.behat.context.transform.product | ||
- sylius.behat.context.transform.shared_storage | ||
- sylius.behat.context.transform.shipping_method | ||
- sylius.behat.context.transform.zone | ||
- sylius.behat.context.transform.lexical | ||
|
||
- sylius.behat.context.setup.admin_security | ||
- sylius.behat.context.setup.channel | ||
- sylius.behat.context.setup.customer | ||
- sylius.behat.context.setup.geographical | ||
- sylius.behat.context.setup.order | ||
- sylius.behat.context.setup.payment | ||
- sylius.behat.context.setup.product | ||
- sylius.behat.context.setup.shipping | ||
- sylius.behat.context.setup.zone | ||
|
||
- Tests\Sylius\PayPalPlugin\Behat\Context\Setup\PaymentPayPalContext | ||
|
||
- sylius.behat.context.ui.admin.managing_payment_methods | ||
- sylius.behat.context.ui.channel | ||
- sylius.behat.context.ui.email | ||
- sylius.behat.context.ui.shop.cart | ||
|
||
- Tests\Sylius\PayPalPlugin\Behat\Context\Admin\ManagingPaymentMethodsContext | ||
filters: | ||
tags: "@managing_payment_methods && @ui" | ||
ui_managing_orders: | ||
contexts: | ||
- sylius.behat.context.hook.calendar | ||
- sylius.behat.context.hook.doctrine_orm | ||
- sylius.behat.context.hook.email_spool | ||
|
||
- sylius.behat.context.setup.admin_security | ||
- sylius.behat.context.setup.admin_user | ||
- sylius.behat.context.setup.calendar | ||
- sylius.behat.context.setup.channel | ||
- sylius.behat.context.setup.currency | ||
- sylius.behat.context.setup.customer | ||
- sylius.behat.context.setup.geographical | ||
- sylius.behat.context.setup.locale | ||
- sylius.behat.context.setup.order | ||
- sylius.behat.context.setup.payment | ||
- sylius.behat.context.setup.product | ||
- sylius.behat.context.setup.product_taxon | ||
- sylius.behat.context.setup.promotion | ||
- sylius.behat.context.setup.shipping | ||
- sylius.behat.context.setup.shop_security | ||
- sylius.behat.context.setup.taxation | ||
- sylius.behat.context.setup.taxonomy | ||
- sylius.behat.context.setup.user | ||
- sylius.behat.context.setup.zone | ||
|
||
- Tests\Sylius\PayPalPlugin\Behat\Context\Setup\PaymentPayPalContext | ||
|
||
- sylius.behat.context.transform.address | ||
- sylius.behat.context.transform.channel | ||
- sylius.behat.context.transform.country | ||
- sylius.behat.context.transform.currency | ||
- sylius.behat.context.transform.customer | ||
- sylius.behat.context.transform.lexical | ||
- sylius.behat.context.transform.locale | ||
- sylius.behat.context.transform.order | ||
- sylius.behat.context.transform.payment | ||
- sylius.behat.context.transform.product | ||
- sylius.behat.context.transform.product_variant | ||
- sylius.behat.context.transform.promotion | ||
- sylius.behat.context.transform.shipping_method | ||
- sylius.behat.context.transform.tax_category | ||
- sylius.behat.context.transform.taxon | ||
- sylius.behat.context.transform.zone | ||
|
||
- sylius.behat.context.transform.shared_storage | ||
|
||
- sylius.behat.context.ui.admin.managing_orders | ||
- sylius.behat.context.ui.admin.notification | ||
- sylius.behat.context.ui.channel | ||
- sylius.behat.context.ui.email | ||
- sylius.behat.context.ui.shop.cart | ||
- sylius.behat.context.ui.shop.checkout | ||
- sylius.behat.context.ui.shop.checkout.addressing | ||
- sylius.behat.context.ui.shop.checkout.complete | ||
- sylius.behat.context.ui.shop.currency | ||
|
||
- Tests\Sylius\PayPalPlugin\Behat\Context\Admin\ManagingOrdersContext | ||
|
||
filters: | ||
tags: "@managing_orders && @ui" |