Skip to content

Commit

Permalink
Update tests matrix
Browse files Browse the repository at this point in the history
- Add PHP 8.4
- Drop Symfony 7.0
- Add Symfony 7.1
- Add Symfony 7.2
  • Loading branch information
ajgarlag committed Nov 29, 2024
1 parent 7660212 commit a62892b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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) || '' }}"

Expand All @@ -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 }}"
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LABEL maintainer="Petar Obradović <[email protected]>"
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 \
Expand Down

0 comments on commit a62892b

Please sign in to comment.