Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 31 additions & 2 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ on:
paths:
- "src/Sylius/Bundle/**"
- "src/Sylius/Component/**"
- ".github/workflows/packages.yml"
pull_request:
paths:
- "src/Sylius/Bundle/**"
- "src/Sylius/Component/**"
- ".github/workflows/packages.yml"
release:
types: [created]
schedule:
Expand Down Expand Up @@ -99,8 +101,35 @@ jobs:
working-directory: "src/Sylius/${{ matrix.package }}"

-
name: Test package
run: bin/test-package src/Sylius/${{ matrix.package }}
name: Setup Database(for ApiBundle only)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space before ( 😄 💃

working-directory: "src/Sylius/${{ matrix.package }}"
run: test/bin/console doctrine:schema:update --force -e test
Comment thread
vvasiloi marked this conversation as resolved.
if: always() && matrix.package == 'Bundle/ApiBundle'

-
name: Run PHPSpec
working-directory: "src/Sylius/${{ matrix.package }}"
run: vendor/bin/phpspec run --ansi --no-interaction -f dot

-
name: Check the existance of phpunit.xml.dist
id: phpunit_xml_dist_existance_check
Comment on lines +115 to +116
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
name: Check the existance of phpunit.xml.dist
id: phpunit_xml_dist_existance_check
name: Check the existence of phpunit.xml.dist
id: phpunit_xml_dist_existence_check

uses: andstor/file-existence-action@v1
with:
files: "src/Sylius/${{ matrix.package }}/phpunit.xml.dist"

-
name: Check the existance of phpunit.xml
id: phpunit_xml_existance_check
Comment on lines +122 to +123
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
name: Check the existance of phpunit.xml
id: phpunit_xml_existance_check
name: Check the existence of phpunit.xml
id: phpunit_xml_existence_check

uses: andstor/file-existence-action@v1
with:
files: "src/Sylius/${{ matrix.package }}/phpunit.xml"

-
name: Run PHPUnit
working-directory: "src/Sylius/${{ matrix.package }}"
if: steps.phpunit_xml_dist_existance_check.outputs.files_exists == 'true' || steps.phpunit_xml_existance_check.outputs.files_exists == 'true'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if: steps.phpunit_xml_dist_existance_check.outputs.files_exists == 'true' || steps.phpunit_xml_existance_check.outputs.files_exists == 'true'
if: steps.phpunit_xml_dist_existence_check.outputs.files_exists == 'true' || steps.phpunit_xml_existence_check.outputs.files_exists == 'true'

run: vendor/bin/phpunit --colors=always

notify-about-build-failure:
runs-on: ubuntu-latest
Expand Down
98 changes: 0 additions & 98 deletions bin/test-package

This file was deleted.

3 changes: 0 additions & 3 deletions src/Sylius/Bundle/AddressingBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@
"symfony/form": "^4.4 || ^5.2",
"symfony/validator": "^4.4 || ^5.2"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/AdminBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@
"phpunit/phpunit": "^8.5",
"symfony/dependency-injection": "^4.4 || ^5.2"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/AttributeBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
"symfony/dependency-injection": "^4.4 || ^5.2",
"symfony/form": "^4.4 || ^5.2"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/ChannelBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
"symfony/form": "^4.4 || ^5.2",
"twig/twig": "^2.12"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/CoreBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@
"conflict": {
"symfony/doctrine-bridge": "4.4.20 || 5.2.4 || 5.2.5"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/CurrencyBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@
"symfony/form": "^4.4 || ^5.2",
"twig/twig": "^2.12"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/CustomerBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@
"symfony/dependency-injection": "^4.4 || ^5.2",
"symfony/form": "^4.4 || ^5.2"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/InventoryBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@
"symfony/dependency-injection": "^4.4 || ^5.2",
"twig/twig": "^2.12"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/LocaleBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@
"symfony/dependency-injection": "^4.4 || ^5.2",
"twig/twig": "^2.12"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/MoneyBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@
"symfony/form": "^4.4 || ^5.2",
"twig/twig": "^2.12"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/OrderBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@
"symfony/form": "^4.4 || ^5.2",
"symfony/validator": "^4.4 || ^5.2"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/PaymentBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
"symfony/browser-kit": "^4.4 || ^5.2",
"symfony/dependency-injection": "^4.4 || ^5.2"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/PayumBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@
"phpspec/phpspec": "^7.1",
"symfony/dependency-injection": "^4.4 || ^5.2"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/ProductBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
"symfony/form": "^4.4 || ^5.2",
"symfony/validator": "^4.4 || ^5.2"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/PromotionBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@
"symfony/form": "^4.4 || ^5.2",
"symfony/validator": "^4.4 || ^5.2"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/ReviewBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@
"symfony/swiftmailer-bundle": "^3.1",
"symfony/validator": "^4.4 || ^5.2"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/ShippingBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@
"symfony/form": "^4.4 || ^5.2",
"symfony/validator": "^4.4 || ^5.2"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/ShopBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@
"phpunit/phpunit": "^8.5",
"symfony/dependency-injection": "^4.4 || ^5.2"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/TaxationBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@
"symfony/dependency-injection": "^4.4 || ^5.2",
"symfony/form": "^4.4 || ^5.2"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/TaxonomyBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
"phpunit/phpunit": "^8.5",
"symfony/dependency-injection": "^4.4 || ^5.2"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/UiBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@
"symfony/form": "^4.4 || ^5.2",
"twig/twig": "^2.12"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Bundle/UserBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@
"suggest": {
"hwi/oauth-bundle": "For OAuth integration"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Component/Addressing/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@
"require-dev": {
"phpspec/phpspec": "^7.1"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Component/Attribute/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@
"require-dev": {
"phpspec/phpspec": "^7.1"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
3 changes: 0 additions & 3 deletions src/Sylius/Component/Channel/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@
"require-dev": {
"phpspec/phpspec": "^7.1"
},
"config": {
"bin-dir": "bin"
},
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
Expand Down
Loading