From deff3b298ad115677091ecd8bfe4255c8a72205c Mon Sep 17 00:00:00 2001 From: Alessandro Lai Date: Fri, 11 Oct 2024 23:50:28 +0200 Subject: [PATCH] Test against PHP 8.4 --- .github/workflows/continuous-integration.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index f2b03fc..78824dd 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -24,6 +24,8 @@ jobs: - "8.0" dependencies: - "highest" + composer-options: + - "--prefer-dist" job: - Tests # https://stackoverflow.com/questions/78445419/unknown-variable-default-authentication-plugin-mysql-native-password @@ -32,6 +34,9 @@ jobs: include: - php-version: "8.2" mysql-version: "5.7" + - php-version: "8.4" + composer-options: "--prefer-dist --ignore-platform-req=php+" + mysql-version: "8.0" - php-version: "8.3" mysql-version: "8.0" job: Infection @@ -70,7 +75,7 @@ jobs: uses: ramsey/composer-install@v3 with: dependency-versions: ${{ matrix.dependencies }} - composer-options: --prefer-dist + composer-options: ${{ matrix.composer-options }} - name: "Run PHPUnit with coverage" run: "vendor/bin/phpunit -c ci/github/phpunit/phpunit.xml --coverage-clover=coverage.xml"