Skip to content

Commit

Permalink
Merge pull request #57 from JanPalen/feature/OP-550-sylius-2.0-upgrade
Browse files Browse the repository at this point in the history
Sylius 2.0 upgrade
  • Loading branch information
senghe authored Jan 19, 2025
2 parents 48898b6 + ed031a3 commit e266da7
Show file tree
Hide file tree
Showing 157 changed files with 1,466 additions and 1,957 deletions.
27 changes: 11 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,12 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ "8.0", "8.1", "8.2", "8.3" ]
symfony: [ "^5.4", "^6.4" ]
sylius: [ "^1.12", "^1.13" ]
node: [ "18.x", "20.x" ]
php: [ "8.2", "8.3" ]
symfony: [ "^7.1" ]
sylius: [ "^2.0" ]
node: [ "20.x" ]
mysql: [ "8.0" ]

exclude:
- 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 Expand Up @@ -82,7 +75,7 @@ jobs:

-
name: Run webserver
run: (cd tests/Application && symfony server:start --port=8080 --dir=public --daemon)
run: (cd tests/Application && symfony server:start --port=8080 --dir=public --daemon && symfony -V)

-
name: Get Composer cache directory
Expand Down Expand Up @@ -115,9 +108,6 @@ jobs:
env:
SYMFONY_REQUIRE: ${{ matrix.symfony }}

- name: Install Behat driver
run: vendor/bin/bdi browser:google-chrome drivers

-
name: Get Yarn cache directory
id: yarn-cache
Expand Down Expand Up @@ -169,18 +159,23 @@ jobs:
name: Run PHPUnit
run: vendor/bin/phpunit --colors=always

-
name: Create behat logs directory
run: (mkdir -p etc/build && chmod a+rw etc/build )

-
name: Run Behat
run: vendor/bin/behat --colors --strict -vvv --no-interaction || vendor/bin/behat --colors --strict -vvv --no-interaction --rerun

-
name: Upload Behat logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: Behat logs
path: etc/build/
if-no-files-found: ignore
overwrite: true

-
name: Failed build Slack notification
Expand Down
15 changes: 4 additions & 11 deletions .github/workflows/coding_standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,10 @@ jobs:
strategy:
fail-fast: false
matrix:
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
php: [ "8.2", "8.3" ]
symfony: [ "^7.1" ]
sylius: [ "^2.0" ]
node: [ "20.x" ]

steps:
- uses: actions/checkout@v3
Expand Down
Loading

0 comments on commit e266da7

Please sign in to comment.