From a994b2dc5cdd8431f7a847f8a43f9b954e762aa4 Mon Sep 17 00:00:00 2001 From: Antonio Carlos Ribeiro Date: Fri, 6 Sep 2024 15:17:12 +0200 Subject: [PATCH] Install PHP 8.4 to test --- .github/workflows/run-tests.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4f0fb51..309366d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -17,6 +17,15 @@ jobs: name: P${{ matrix.php }} steps: + - name: Setup PHP ${{ matrix.php }} + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + extensions: mbstring + ini-values: post_max_size=256M, max_execution_time=180 + coverage: xdebug + tools: php-cs-fixer, phpunit + - name: Checkout code uses: actions/checkout@v3 @@ -26,6 +35,7 @@ jobs: - name: Install dependencies run: | + php --version composer require --prefer-dist --no-interaction --no-suggest - name: Execute tests