forked from BitBagCommerce/SyliusBlacklistPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request BitBagCommerce#67 from JanPalen/feature/OP-453-upg…
…rade-plugin-to-sylius-1.13-support Upgrade plugin to Sylius 1.13 compatibility
- Loading branch information
Showing
119 changed files
with
854 additions
and
698 deletions.
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,30 +14,32 @@ on: | |
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-latest | ||
|
||
name: "Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }}" | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php: ["8.0"] | ||
symfony: ["^5.4", "^6.0"] | ||
sylius: ["~1.11.0", "~1.12.0"] | ||
node: ["^14.17.x"] | ||
mysql: ["5.7", "8.0"] | ||
php: ["8.0", "8.1", "8.2", "8.3"] | ||
symfony: ["^5.4", "^6.4"] | ||
sylius: ["~1.12.0", "~1.13.0"] | ||
node: ["^18.0", "^20.0"] | ||
mysql: ["8.0"] | ||
|
||
exclude: | ||
- sylius: ~1.11.0 | ||
symfony: ^6.0 | ||
- sylius: "~1.13.0" | ||
php: "8.0" | ||
- symfony: "^6.4" | ||
php: "8.0" | ||
|
||
env: | ||
APP_ENV: test | ||
DATABASE_URL: "mysql://root:[email protected]/sylius?serverVersion=${{ matrix.mysql }}" | ||
|
||
steps: | ||
- | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
|
||
- | ||
name: Setup PHP | ||
|
@@ -50,7 +52,7 @@ jobs: | |
|
||
- | ||
name: Setup Node | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "${{ matrix.node }}" | ||
|
||
|
@@ -96,7 +98,7 @@ jobs: | |
|
||
- | ||
name: Cache Composer | ||
uses: actions/cache@v2 | ||
uses: actions/cache@v4 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json **/composer.lock') }} | ||
|
@@ -123,7 +125,7 @@ jobs: | |
- | ||
name: Get Yarn cache directory | ||
id: yarn-cache | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT | ||
|
||
- | ||
name: Cache Yarn | ||
|
@@ -147,8 +149,8 @@ jobs: | |
- | ||
name: Prepare test application assets | ||
run: | | ||
(cd tests/Application && yarn encore dev) | ||
(cd tests/Application && bin/console assets:install public -vvv) | ||
(cd tests/Application && yarn prod) | ||
- | ||
name: Prepare test application cache | ||
|
@@ -186,8 +188,8 @@ jobs: | |
name: Behat logs | ||
path: etc/build/ | ||
if-no-files-found: ignore | ||
- | ||
|
||
- | ||
name: Failed build Slack notification | ||
uses: rtCamp/action-slack-notify@v2 | ||
if: ${{ failure() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') }} | ||
|
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
Oops, something went wrong.