Skip to content

Commit

Permalink
OP-364 - Git workflows build.yml has been updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkalon committed Jul 11, 2024
1 parent 56b8fe0 commit 75bb4ce
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,19 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.0]
symfony: [^5.4, ^6.0]
sylius: [~1.11.0, ~1.12.0]
node: [14.19]
mysql: [5.7, 8.0]

exclude:
-
sylius: ~1.11.0
symfony: ^6.0
php: ["8.1"]
symfony: ["^6.0"]
sylius: [~1.12.0]
node: ["20.x"]
mysql: ["5.7"]

env:
APP_ENV: test
DATABASE_URL: "mysql://root:root@127.0.0.1/sylius?serverVersion=${{ matrix.mysql }}"

steps:
-
uses: actions/checkout@v2
uses: actions/checkout@v3

-
name: Setup PHP
Expand All @@ -51,7 +46,7 @@ jobs:

-
name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: "${{ matrix.node }}"

Expand Down Expand Up @@ -135,7 +130,7 @@ jobs:
name: Prepare test application database
run: |
(cd tests/Application && bin/console doctrine:database:create -vvv)
(cd tests/Application && bin/console doctrine:schema:create -vvv)
(cd tests/Application && bin/console doctrine:schema:create -vvv)
-
name: Prepare test application assets
Expand All @@ -161,7 +156,7 @@ jobs:

-
name: Run PHPStan
run: vendor/bin/phpstan analyse -c phpstan.neon -l max src/
run: vendor/bin/phpstan analyse -c phpstan.neon -l 8 src/

# TODO: Temporary disabled!
# -
Expand Down

0 comments on commit 75bb4ce

Please sign in to comment.