Skip to content

Commit

Permalink
Merge pull request #264 from oallain/sylius-1-10
Browse files Browse the repository at this point in the history
Add Sylius 1.10 support
  • Loading branch information
oallain authored Jul 9, 2021
2 parents cc925e1 + 96d58e2 commit b6da43e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,23 @@ jobs:
runs-on: ubuntu-latest

name: "Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }}"

strategy:
fail-fast: false
matrix:
php: [7.4, 7.3]
symfony: [^4.4, ^5.2]
sylius: [~1.8.0, ~1.9.0]
sylius: [~1.8.0, ~1.9.0, ~1.10.0]
node: [10.x]
mysql: [5.7]

exclude:
-
sylius: ~1.8.0
symfony: ^5.2
-
sylius: ~1.10.0
php: 7.3

env:
APP_ENV: test
Expand Down Expand Up @@ -108,6 +111,11 @@ jobs:
if: matrix.sylius != ''
run: composer require "sylius/sylius:${{ matrix.sylius }}" --no-update --no-scripts --no-interaction

-
name: Add Admin API Bundle for Sylius >= 1.10
if: matrix.sylius != '~1.8.0' && matrix.sylius != '~1.9.0'
run: composer require sylius/admin-api-bundle --no-update --no-scripts --no-interaction

-
name: Install PHP dependencies
run: composer install --no-interaction
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"require": {
"php": "^7.3",
"sylius/sylius": "~1.8.0 || ~1.9.0",
"sylius/sylius": "~1.8.0 || ~1.9.0 || ~1.10.0",
"portphp/portphp": "^1.2",
"symfony/stopwatch": "^4.4 || ^5.2",
"queue-interop/queue-interop": "^0.6.2 || ^0.7 || ^0.8"
Expand Down
4 changes: 2 additions & 2 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
<testsuite name="SyliusImportExportPlugin Test Suite">
<directory>tests</directory>
</testsuite>
<server name="APP_ENV" value="test"/>
<env name="SHELL_VERBOSITY" value="-1" />
</testsuites>

<php>
<server name="APP_ENV" value="test"/>
<env name="SHELL_VERBOSITY" value="-1" />
<server name="KERNEL_CLASS_PATH" value="/tests/Application/AppKernel.php" />
<server name="IS_DOCTRINE_ORM_SUPPORTED" value="true" />
</php>
Expand Down

0 comments on commit b6da43e

Please sign in to comment.