From 5dbebd7701a5328c481cc6f8bc7e060e4e5a95a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20J=2E=20Garc=C3=ADa=20Lagar?= Date: Fri, 22 Nov 2024 10:29:36 +0100 Subject: [PATCH] Update tests matrix - Add PHP 8.4 - Drop Symfony 7.0 - Add Symfony 7.1 - Add Symfony 7.2 --- .github/workflows/unit-tests.yml | 10 ++++++---- dev/docker/Dockerfile | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 52e45128..a386be62 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -14,8 +14,8 @@ jobs: strategy: fail-fast: false matrix: - php: ['8.1', '8.2', '8.3'] - symfony: ['5.4.*', '6.4.*', '7.0.*'] + php: ['8.1', '8.2', '8.3', '8.4'] + symfony: ['5.4.*', '6.4.*', '7.1.*', '7.2.*'] doctrine-orm: ['^2.14', '^3.0'] composer-flags: ['--prefer-stable'] can-fail: [false] @@ -27,7 +27,9 @@ jobs: can-fail: false exclude: - php: "8.1" - symfony: "7.0.*" + symfony: "7.1.*" + - php: "8.1" + symfony: "7.2.*" name: "PHP ${{ matrix.php }} - Doctrine ${{ matrix.doctrine-orm }} - Symfony ${{ matrix.symfony }}${{ matrix.composer-flags != '' && format(' - Composer {0}', matrix.composer-flags) || '' }}" @@ -39,7 +41,7 @@ jobs: uses: "actions/checkout@v4" - name: "build the PHP environment" - run: "dev/bin/docker-compose build --build-arg PHP_VERSION=${{ matrix.php }} --build-arg XDEBUG_VERSION='3.3.1' php" + run: "dev/bin/docker-compose build --build-arg PHP_VERSION=${{ matrix.php }} --build-arg XDEBUG_VERSION='3.4.0' php" - name: "require specific Doctrine ORM version" run: "dev/bin/php composer require --ansi ${{ matrix.composer-flags }} --no-install doctrine/orm:${{ matrix.doctrine-orm }}" diff --git a/dev/docker/Dockerfile b/dev/docker/Dockerfile index e9d99495..081a5169 100644 --- a/dev/docker/Dockerfile +++ b/dev/docker/Dockerfile @@ -7,7 +7,7 @@ LABEL maintainer="Petar Obradović " RUN mkdir -p /app/bin ENV PATH /app/bin:$PATH -ARG XDEBUG_VERSION=3.3.1 +ARG XDEBUG_VERSION=3.4.0 # Install needed core and PECL extensions RUN apk add --update --no-cache --virtual .build-deps \