From 958001340689cb1ca7209d64eeb7b11bdd9224e4 Mon Sep 17 00:00:00 2001 From: Nico Hoffmann Date: Sat, 7 Dec 2024 14:31:54 +0100 Subject: [PATCH] Lower PHPUnit again and exclude Psalm for PHP 8.4 --- .github/workflows/backend.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 51c818a999..d40bdf1310 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -104,7 +104,7 @@ jobs: extensions: ${{ env.extensions }} ini-values: ${{ env.ini }} coverage: pcov - tools: phpunit:11.4.3, psalm:5.26.1 + tools: phpunit:10.5.38, psalm:5.26.1 - name: Setup problem matchers run: | @@ -127,7 +127,7 @@ jobs: run: phpunit --fail-on-skipped --coverage-clover ${{ github.workspace }}/clover.xml - name: Statically analyze using Psalm - if: always() && steps.finishPrepare.outcome == 'success' + if: always() && steps.finishPrepare.outcome == 'success' && matrix.php != '8.4' run: psalm --output-format=github --php-version=${{ matrix.php }} --report=sarif/psalm.sarif --report-show-info=false - name: Upload coverage results to Codecov @@ -144,7 +144,7 @@ jobs: env_vars: PHP - name: Upload code scanning results to GitHub - if: always() && steps.finishPrepare.outcome == 'success' && github.repository == 'getkirby/kirby' + if: always() && steps.finishPrepare.outcome == 'success' && github.repository == 'getkirby/kirby' && matrix.php != '8.4' uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # pin@v3 with: sarif_file: sarif