Skip to content

Commit

Permalink
OP-353 CR fixes, add PHP 8.0 check rule for Sylius 1.12 on symfony 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymonKostrubiec committed Jul 15, 2024
1 parent 08536b6 commit cf23cfb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,27 @@ 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 }}, State Machine Adapter ${{ matrix.state_machine_adapter }}"

strategy:
fail-fast: false
matrix:
php: [ "8.1", "8.2", "8.3" ]
php: [ "8.0", "8.1", "8.2", "8.3" ]
symfony: ["^5.4", "^6.4"]
sylius: [ "^1.12", "^1.13" ]
node: [ "18.x", "20.x" ]
mysql: ["8.0"]
state_machine_adapter: ["winzou_state_machine", "symfony_workflow"]

exclude:
-
sylius: ~1.12.0
state_machine_adapter: "symfony_workflow"
- sylius: ^1.13
php: 8.0
- sylius: ^1.12
php: 8.0
symfony: ^6.4
env:
APP_ENV: test
DATABASE_URL: "mysql://root:[email protected]/sylius?serverVersion=${{ matrix.mysql }}"
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/coding_standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,18 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ "8.1", "8.2", "8.3" ]
php: [ "8.0", "8.1", "8.2", "8.3" ]
symfony: [ "^5.4", "^6.4" ]
sylius: [ "^1.12", "^1.13" ]
node: [ "18.x", "20.x" ]

exclude:
- sylius: ^1.13
php: 8.0
- sylius: ^1.12
php: 8.0
symfony: ^6.4

steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Wishlist plugin for Sylius.",
"license": "MIT",
"require": {
"php": "^8.1",
"php": "^8.0",
"sylius/sylius": "^1.12 || ^1.13",
"symfony/webpack-encore-bundle": "^1.15",
"dompdf/dompdf": "^2.0"
Expand Down

0 comments on commit cf23cfb

Please sign in to comment.