-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OP-273 - Feature/sylius 1.13 update #241
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
0687ae3
OP-273 - remove sylius 1.11 config files
BartoszWojdalowicz c16b94a
OP-273 - add missing changes from sylius upgrade guide
BartoszWojdalowicz f3a3c6e
OP-273 - set package.json.1.13 as default packages.json
BartoszWojdalowicz ff8f78a
OP-273 - order composer packages in alphabetical order, remove sylius…
BartoszWojdalowicz 15a8605
OP-273 - update composer.json
BartoszWojdalowicz fdc021f
update symfony workflow build
BartoszWojdalowicz fa1bb7f
upgrade bitbag coding standard package
BartoszWojdalowicz 0882627
fix gh action build configuration
BartoszWojdalowicz 0f3f41b
fix gh action config
BartoszWojdalowicz f0f53dd
OP-273 - temporary disable gh action on push
BartoszWojdalowicz cfd10d1
OP-273 - downgrade bitbag coding standards package
BartoszWojdalowicz dcf101c
OP-273 - update ecs configuration
BartoszWojdalowicz 8201327
OP-273 - fix ecs
BartoszWojdalowicz fbde925
OP-273 - remove symfony flex package
BartoszWojdalowicz ba52c27
fix phpspec test
BartoszWojdalowicz 028654e
OP-273 - add conflict with behat/mink-selenium2-driver
BartoszWojdalowicz 5d6f909
OP-273 - set 2 decimal digit in behat tests. Add node information in …
BartoszWojdalowicz 88ab370
OP-273 - set thousends coma in behat scenarios.
BartoszWojdalowicz d92bf53
OP-273 - try to fix plugin on symfony 6
BartoszWojdalowicz a45261a
OP-273 - restore gh actions on push
BartoszWojdalowicz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,22 +14,18 @@ on: | |
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-latest | ||
|
||
name: "Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }}" | ||
name: "Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }}, Node ${{ matrix.node }}" | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php: ["8.1"] | ||
symfony: ["^5.4", "^6.0"] | ||
sylius: ["~1.11.0", "~1.12.0", "1.13.x-dev as 1.13.0"] | ||
node: ["14.x"] | ||
mysql: ["8.0.36"] | ||
|
||
exclude: | ||
- sylius: ~1.11.0 | ||
symfony: "^6.0" | ||
php: [ "8.1", "8.2", "8.3" ] | ||
symfony: [ "^5.4", "^6.0" ] | ||
sylius: [ "^1.12", "^1.13" ] | ||
node: [ "18.x", "20.x" ] | ||
mysql: [ "5.7", "8.0" ] | ||
env: | ||
APP_ENV: test | ||
DATABASE_URL: "mysql://root:[email protected]/sylius?serverVersion=${{ matrix.mysql }}" | ||
|
@@ -139,11 +135,6 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-node-${{ matrix.node }}-yarn- | ||
|
||
- | ||
name: Copy package.json.dist to package.json | ||
if: matrix.sylius != '' | ||
run: (cd tests/Application && cp "package.json.${{ matrix.sylius }}.dist" package.json) | ||
|
||
- | ||
name: Install JS dependencies | ||
run: (cd tests/Application && yarn install) | ||
|
@@ -170,7 +161,6 @@ jobs: | |
|
||
- | ||
name: Validate composer.json | ||
if: ${{ matrix.sylius != '1.13.x-dev as 1.13.0' }} | ||
run: composer validate --ansi --strict | ||
|
||
- | ||
|
@@ -186,12 +176,10 @@ jobs: | |
|
||
- | ||
name: Run Behat | ||
if: ${{ matrix.sylius != '1.13.x-dev as 1.13.0' }} | ||
run: vendor/bin/behat --colors --strict -vvv --no-interaction --tags '~@sylius113' || vendor/bin/behat --colors --strict -vvv --no-interaction --rerun --tags '~@sylius113' | ||
|
||
- | ||
name: Run Behat | ||
if: ${{ matrix.sylius == '1.13.x-dev as 1.13.0' }} | ||
run: vendor/bin/behat --colors --strict -vvv --no-interaction --tags '~@sylius112' || vendor/bin/behat --colors --strict -vvv --no-interaction --rerun --tags '~@sylius112' | ||
|
||
|
||
|
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
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 @@ public function __set(string $facetId, $selectedBuckets) | |
|
||
public function __isset(string $facetId) | ||
{ | ||
return isset($this->selectedBuckets[$facetId]); | ||
return true; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have to remember this solution is very temporary 🖖 |
||
} | ||
|
||
/** | ||
|
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 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.
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.
6 changes: 0 additions & 6 deletions
6
tests/Application/config/sylius/1.11/packages/test_cached/swiftmailer.yaml
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^1.12
installs the Sylius 1.13, so now version 1.12 is not tested at all, you need to change that to~1.12.0