diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a9bf6275..5c26fb92 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,20 +15,35 @@ jobs: php-version: ['8.1', '8.2', '8.3'] composer-flags: [''] symfony-version: ['^6.4'] + phpunit-version: ['^9.6'] include: - php-version: 7.4 symfony-version: "^5.4" composer-flags: "--prefer-lowest" - php-version: 8.1 symfony-version: "^5.4" + phpunit-version: "^10.0" - php-version: 8.1 symfony-version: "^6.4" + phpunit-version: "^10.0" - php-version: 8.2 symfony-version: "^6.4" + phpunit-version: "^10.0" - php-version: 8.2 symfony-version: "^7.0" + phpunit-version: "^10.0" - php-version: 8.3 symfony-version: "^7.0" + phpunit-version: "^10.0" + - php-version: 8.2 + symfony-version: "^6.4" + phpunit-version: "^11.0" + - php-version: 8.2 + symfony-version: "^7.0" + phpunit-version: "^11.0" + - php-version: 8.3 + symfony-version: "^7.0" + phpunit-version: "^11.0" steps: - name: Checkout @@ -65,6 +80,7 @@ jobs: symfony/twig-bundle=${{ matrix.symfony-version }} symfony/validator=${{ matrix.symfony-version }} symfony/yaml=${{ matrix.symfony-version }} + phpunit/phpunit=${{ phpunit-version }} # This is needed to fix builds where the `annotation_reader` service may not be set up if # the Annotations package is not in the production dependencies