From 306ecff9c79ae619b15e52d018b3f0c11d17c2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 15 Oct 2023 14:24:48 +0200 Subject: [PATCH] Fixed issues with xdebug.max_nesting_level in github actions --- .github/workflows/assets_artifact_build.yml | 8 ++++++++ .github/workflows/static_analysis.yml | 8 ++++++++ .github/workflows/tests.yml | 1 + 3 files changed, 17 insertions(+) diff --git a/.github/workflows/assets_artifact_build.yml b/.github/workflows/assets_artifact_build.yml index 57b3ed16..89e6bfd6 100644 --- a/.github/workflows/assets_artifact_build.yml +++ b/.github/workflows/assets_artifact_build.yml @@ -21,6 +21,14 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' + coverage: none + ini-values: xdebug.max_nesting_level=1000 + extensions: mbstring, intl, gd, xsl, gmp, bcmath + - name: Get Composer Cache Directory id: composer-cache run: | diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index 153568b0..0a027e3c 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -18,6 +18,14 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' + coverage: none + ini-values: xdebug.max_nesting_level=1000 + extensions: mbstring, intl, gd, xsl, gmp, bcmath + - name: Get Composer Cache Directory id: composer-cache run: | diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 32bf7714..8f7b9fb8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -45,6 +45,7 @@ jobs: with: php-version: ${{ matrix.php-versions }} coverage: pcov + ini-values: xdebug.max_nesting_level=1000 extensions: mbstring, intl, gd, xsl, gmp, bcmath - name: Start MySQL