Skip to content

Commit 097e421

Browse files
authored
Enable plugin for Sylius 2.1 (#365)
| Q | A | --------------- | ----- | Branch? | 2.0 | Bug fix? | no | New feature? | no | Related tickets | not able to install on Sylius 2.1
2 parents e24b22c + 9acb993 commit 097e421

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
php: ["8.2", "8.3"]
23-
symfony: ["^6.4", "^7.1"]
24-
sylius: ["~2.0.1"]
23+
symfony: ["^6.4", "7.2.*"]
24+
sylius: ["^2.0.1"]
2525
database: ["mysql", "postgres"]
2626
mysql: ["8.4"]
2727
postgres: ["15.8"]
@@ -30,7 +30,7 @@ jobs:
3030

3131
include:
3232
- php: "8.3"
33-
symfony: "^7.1"
33+
symfony: "7.2.*"
3434
database: "mysql"
3535
sylius: "~2.0.1"
3636
mysql: "8.4"
@@ -187,6 +187,10 @@ jobs:
187187
name: Run security check
188188
run: symfony security:check
189189

190+
-
191+
name: Generate JWT keys
192+
run: (cd tests/Application && bin/console lexik:jwt:generate-keypair)
193+
190194
-
191195
name: Run ECS
192196
run: vendor/bin/ecs check

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"phpseclib/phpseclib": "^3.0",
1313
"psr/http-client": "^1.0",
1414
"sylius-labs/doctrine-migrations-extra-bundle": "^0.2",
15-
"sylius/sylius": "~2.0.1",
15+
"sylius/sylius": "^2.0.1",
1616
"symfony/mailer": "^6.4 || ^7.1"
1717
},
1818
"require-dev": {

tests/Behat/Resources/suites.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ default:
3232
- sylius.behat.context.setup.channel
3333
- sylius.behat.context.setup.currency
3434
- sylius.behat.context.setup.customer
35+
- sylius.behat.context.setup.cart
3536
- sylius.behat.context.setup.exchange_rate
3637
- sylius.behat.context.setup.geographical
3738
- sylius.behat.context.setup.locale

0 commit comments

Comments
 (0)