-
Notifications
You must be signed in to change notification settings - Fork 1
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 #6 from tomkalon/OP-372
Op 372 / Added Sylius 1.12 & 1.13 support
- Loading branch information
Showing
85 changed files
with
708 additions
and
997 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,26 +14,23 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
php: ["8.0"] | ||
symfony: ["^4.4", "^5.2"] | ||
sylius: ["~1.11.0"] | ||
node: [ "10.x" ] | ||
mysql: ["8.0"] | ||
|
||
php: ["8.0", "8.1", "8.2"] | ||
symfony: ["^5.4", "^6.0"] | ||
sylius: ["~1.12.0", "~1.13.0"] | ||
node: [ "14.x" ] | ||
mysql: ["5.7", "8.0"] | ||
exclude: | ||
- sylius: ~1.10.0 | ||
symfony: 4.4 | ||
|
||
- sylius: ~1.11.0 | ||
php: 7.4 | ||
- 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 | ||
|
@@ -46,7 +43,7 @@ jobs: | |
|
||
- | ||
name: Setup Node | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "${{ matrix.node }}" | ||
|
||
|
@@ -126,7 +123,7 @@ jobs: | |
name: Install JS dependencies | ||
run: | | ||
(cd tests/Application && yarn install) | ||
(cd tests/Application && yarn build) | ||
(cd tests/Application && yarn encore dev) | ||
- | ||
name: Prepare test application database | ||
|
@@ -176,7 +173,7 @@ jobs: | |
path: etc/build/ | ||
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
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,76 +1,72 @@ | ||
{ | ||
"name": "bitbag/poczta-polska-shipping-export-plugin", | ||
"type": "sylius-plugin", | ||
"description": "Poczta polska shipping export plugin for Sylius based applications.", | ||
"keywords": [ | ||
"sylius", | ||
"sylius-plugin" | ||
], | ||
"license": "MIT", | ||
"repositories": [ | ||
{ | ||
"type": "vcs", | ||
"url": "https://github.com/damonsson/ElektronicznyNadawca" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.4 || ^8.0", | ||
"bitbag/shipping-export-plugin": "^3.0", | ||
"printu/elektroniczny-nadawca": "dev-master", | ||
"sylius/sylius": "~1.10.0 || ~1.11.0", | ||
"ext-soap": "*" | ||
}, | ||
"require-dev": { | ||
"behat/behat": "^3.6.1", | ||
"behat/mink-selenium2-driver": "^1.4", | ||
"bitbag/coding-standard": "^1.0", | ||
"dmore/behat-chrome-extension": "^1.3", | ||
"dmore/chrome-mink-driver": "^2.7", | ||
"friends-of-behat/mink": "^1.8", | ||
"friends-of-behat/mink-browserkit-driver": "^1.4", | ||
"friends-of-behat/mink-debug-extension": "^2.0.0", | ||
"friends-of-behat/mink-extension": "^2.4", | ||
"friends-of-behat/page-object-extension": "^0.3", | ||
"friends-of-behat/suite-settings-extension": "^1.0", | ||
"friends-of-behat/symfony-extension": "^2.1", | ||
"friends-of-behat/variadic-extension": "^1.3", | ||
"friendsofsymfony/oauth-server-bundle": "^1.6 || >2.0.0-alpha.0 ^2.0@dev", | ||
"phpspec/phpspec": "^7.0", | ||
"phpstan/extension-installer": "^1.0", | ||
"phpstan/phpstan": "0.12.99", | ||
"phpstan/phpstan-doctrine": "0.12.33", | ||
"phpstan/phpstan-strict-rules": "^0.12.0", | ||
"phpstan/phpstan-webmozart-assert": "0.12.12", | ||
"phpunit/phpunit": "^9.5", | ||
"polishsymfonycommunity/symfony-mocker-container": "^1.0", | ||
"sensiolabs/security-checker": "^6.0", | ||
"symfony/browser-kit": "^4.4 || ^5.2", | ||
"symfony/debug-bundle": "^4.4 || ^5.2", | ||
"symfony/dotenv": "^4.4 || ^5.2", | ||
"symfony/intl": "^4.4 || ^5.2", | ||
"symfony/web-profiler-bundle": "^4.4 || ^5.2", | ||
"vimeo/psalm": "4.7.1" | ||
}, | ||
"config": { | ||
"sort-packages": true, | ||
"allow-plugins": { | ||
"phpstan/extension-installer": true, | ||
"composer/package-versions-deprecated": true, | ||
"dealerdirect/phpcodesniffer-composer-installer": true, | ||
"symfony/thanks": true, | ||
"symfony/flex": true | ||
} | ||
}, | ||
"prefer-stable": true, | ||
"autoload": { | ||
"psr-4": { | ||
"BitBag\\SyliusPocztaPolskaShippingExportPlugin\\": "src/", | ||
"Tests\\BitBag\\SyliusPocztaPolskaShippingExportPlugin\\": "tests/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"classmap": [ | ||
"tests/Application/Kernel.php" | ||
] | ||
"name": "bitbag/poczta-polska-shipping-export-plugin", | ||
"type": "sylius-plugin", | ||
"description": "Poczta polska shipping export plugin for Sylius based applications.", | ||
"keywords": [ | ||
"sylius", | ||
"sylius-plugin" | ||
], | ||
"license": "MIT", | ||
"require": { | ||
"php": "^8.0", | ||
"ext-soap": "*", | ||
"bitbag/shipping-export-plugin": "^3.0", | ||
"printu/elektroniczny-nadawca": "^1.0.64", | ||
"sylius/sylius": "~1.12.0 || ~1.13.0" | ||
}, | ||
"require-dev": { | ||
"behat/behat": "^3.7", | ||
"behat/mink-selenium2-driver": "~1.6.0", | ||
"bitbag/coding-standard": "^3.0.0 ", | ||
"dmore/behat-chrome-extension": "^1.3", | ||
"dmore/chrome-mink-driver": "^2.7", | ||
"friends-of-behat/mink": "^1.8", | ||
"friends-of-behat/mink-browserkit-driver": "^1.4", | ||
"friends-of-behat/mink-debug-extension": "^2.0.0", | ||
"friends-of-behat/mink-extension": "^2.4", | ||
"friends-of-behat/page-object-extension": "^0.3", | ||
"friends-of-behat/suite-settings-extension": "^1.0", | ||
"friends-of-behat/symfony-extension": "^2.1", | ||
"friends-of-behat/variadic-extension": "^1.3", | ||
"polishsymfonycommunity/symfony-mocker-container": "^1.0", | ||
"phpspec/phpspec": "^7.0", | ||
"phpstan/extension-installer": "^1.0", | ||
"phpstan/phpstan": "^1.8.1", | ||
"phpstan/phpstan-doctrine": "1.3.69", | ||
"phpstan/phpstan-strict-rules": "^1.3.0", | ||
"phpstan/phpstan-webmozart-assert": "^1.2.0", | ||
"phpunit/phpunit": "^9.5", | ||
"symfony/browser-kit": "^5.4 || ^6.0", | ||
"symfony/debug-bundle": "^5.4 || ^6.0", | ||
"symfony/dotenv": "^5.4 || ^6.0", | ||
"symfony/intl": "^5.4 || ^6.0", | ||
"symfony/web-profiler-bundle": "^5.4 || ^6.0", | ||
"symfony/webpack-encore-bundle": "^1.17" | ||
}, | ||
"config": { | ||
"sort-packages": true, | ||
"allow-plugins": { | ||
"phpstan/extension-installer": true, | ||
"composer/package-versions-deprecated": true, | ||
"dealerdirect/phpcodesniffer-composer-installer": true, | ||
"symfony/thanks": true, | ||
"symfony/flex": true | ||
} | ||
}, | ||
"conflict": { | ||
"doctrine/persistence": "<3.0" | ||
}, | ||
"prefer-stable": true, | ||
"autoload": { | ||
"psr-4": { | ||
"BitBag\\SyliusPocztaPolskaShippingExportPlugin\\": "src/", | ||
"Tests\\BitBag\\SyliusPocztaPolskaShippingExportPlugin\\": "tests/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"classmap": [ | ||
"tests/Application/Kernel.php" | ||
] | ||
} | ||
} | ||
|
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 |
---|---|---|
|
@@ -34,7 +34,7 @@ Feature: Managing shipping gateway | |
And it has "package_length" field set to "22" | ||
And it has "cod_payment_method_code" field set to "stripe_checkout" | ||
And it has "collect_on_delivery_form" field set to "BANK_TRANSFER" | ||
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 the customer set the shipping address "Mike Ross" addressed it to "350 5th Ave", "10118" "New York" in the "United States" to orders | ||
And those orders were placed with "PocztaPolska Express" 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
Oops, something went wrong.