Skip to content

Commit

Permalink
Additional build with Twig 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Zales0123 committed Apr 30, 2022
1 parent 5a4c8d9 commit 6792c7a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
name: Run PHPStan
run: vendor/bin/phpstan analyse
if: always() && steps.end-of-setup.outcome == 'success'

-
name: Run ComposerRequireChecker
run: |
Expand Down Expand Up @@ -394,7 +394,7 @@ jobs:
test-application-without-frontend-mysql:
runs-on: ubuntu-latest

name: "Test non-JS application (PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }})"
name: "Test non-JS application (PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }}, Twig ${{ matrix.twig }})"

timeout-minutes: 25

Expand All @@ -405,6 +405,14 @@ jobs:
symfony: ["^5.4"]
node: ["14.x", "16.x"]
mysql: ["5.7", "8.0"]
twig: ["3.x"]
include:
-
php: "8.0"
symfony: "^5.4"
node: "14.x"
twig: "2.x"
mysql: "5.7"

env:
APP_ENV: test_cached
Expand Down Expand Up @@ -456,6 +464,12 @@ jobs:
restore-keys: |
${{ runner.os }}-php-${{ matrix.php }}-symfony-${{ matrix.symfony }}-composer-
-
name: Restrict Twig version
if: matrix.twig != ''
run: |
composer require "twig/twig:${{ matrix.twig }}" --no-update --no-scripts --no-interaction
-
name: Install PHP dependencies
run: composer update --no-interaction --no-scripts
Expand Down

0 comments on commit 6792c7a

Please sign in to comment.