diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1898a021..cf694cb1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,10 @@ jobs: strategy: matrix: php: [8.1, 8.2, 8.3] - symfony: ["5.4.*", "6.4.*"] + symfony: ["5.4.*", "6.4.*", "7.0.*"] + exclude: + - php: 8.1 + symfony: "7.0.*" steps: - name: Checkout code @@ -29,7 +32,7 @@ jobs: with: repository: Codeception/symfony-module-tests path: framework-tests - ref: "5.4_codecept5" + ref: "5.4" - name: Checkout Symfony 6.4 Sample if: "matrix.symfony == '6.4.*'" @@ -39,6 +42,14 @@ jobs: path: framework-tests ref: "6.4" + - name: Checkout Symfony 7.0 Sample + if: "matrix.symfony == '7.0.*'" + uses: actions/checkout@v4 + with: + repository: Codeception/symfony-module-tests + path: framework-tests + ref: "7.0" + - name: Get composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" @@ -72,8 +83,8 @@ jobs: run: composer validate working-directory: framework-tests - - name: Install PHPUnit 10 in framework-tests for Symfony 6.4 - if: "matrix.symfony == '6.4.*'" + - name: Install PHPUnit 10 in framework-tests for Symfony 6.4 and 7.0 + if: "matrix.symfony == '6.4.*' || matrix.symfony == '7.0.*'" run: composer require --dev --no-update "phpunit/phpunit=^10.0" working-directory: framework-tests @@ -85,8 +96,8 @@ jobs: - name: Prepare the test environment run: | - php bin/console d:s:u -f - php bin/console d:f:l -q + php bin/console doctrine:schema:update --force + php bin/console doctrine:fixtures:load --quiet working-directory: framework-tests - name: Run test suite diff --git a/composer.json b/composer.json index 52a4293b..5e148b68 100644 --- a/composer.json +++ b/composer.json @@ -27,29 +27,29 @@ "codeception/module-asserts": "^3.0", "codeception/module-doctrine2": "^3.0", "doctrine/orm": "^2.10", - "symfony/browser-kit": "^4.4 | ^5.0 | ^6.0", - "symfony/cache": "^4.4 | ^5.0 | ^6.0", - "symfony/config": "^4.4 | ^5.0 | ^6.0", - "symfony/dependency-injection": "^4.4 | ^5.0 | ^6.0", - "symfony/dom-crawler": "^4.4 | ^5.0 | ^6.0", - "symfony/error-handler": "^4.4 | ^5.0 | ^6.0", - "symfony/filesystem": "^4.4 | ^5.0 | ^6.0", - "symfony/form": "^4.4 | ^5.0 | ^6.0", - "symfony/framework-bundle": "^4.4 | ^5.0 | ^6.0", - "symfony/http-foundation": "^4.4 | ^5.0 | ^6.0", - "symfony/http-kernel": "^4.4 | ^5.0 | ^6.0", - "symfony/mailer": "^4.4 | ^5.0 | ^6.0", - "symfony/mime": "^4.4 | ^5.0 | ^6.0", - "symfony/options-resolver": "^4.4 | ^5.0 | ^6.0", - "symfony/property-access": "^4.4 | ^5.0 | ^6.0", - "symfony/property-info": "^4.4 | ^5.0 | ^6.0", - "symfony/routing": "^4.4 | ^5.0 | ^6.0", - "symfony/security-bundle": "^4.4 | ^5.0 | ^6.0", - "symfony/security-core": "^4.4 | ^5.0 | ^6.0", - "symfony/security-csrf": "^4.4 | ^5.0 | ^6.0", - "symfony/security-http": "^4.4 | ^5.0 | ^6.0", - "symfony/twig-bundle": "^4.4 | ^5.0 | ^6.0", - "symfony/var-exporter": "^4.4 | ^5.0 | ^6.0", + "symfony/browser-kit": "^5.4 | ^6.4 | ^7.0", + "symfony/cache": "^5.4 | ^6.4 | ^7.0", + "symfony/config": "^5.4 | ^6.4 | ^7.0", + "symfony/dependency-injection": "^5.4 | ^6.4 | ^7.0", + "symfony/dom-crawler": "^5.4 | ^6.4 | ^7.0", + "symfony/error-handler": "^5.4 | ^6.4 | ^7.0", + "symfony/filesystem": "^5.4 | ^6.4 | ^7.0", + "symfony/form": "^5.4 | ^6.4 | ^7.0", + "symfony/framework-bundle": "^5.4 | ^6.4 | ^7.0", + "symfony/http-foundation": "^5.4 | ^6.4 | ^7.0", + "symfony/http-kernel": "^5.4 | ^6.4 | ^7.0", + "symfony/mailer": "^5.4 | ^6.4 | ^7.0", + "symfony/mime": "^5.4 | ^6.4 | ^7.0", + "symfony/options-resolver": "^5.4 | ^6.4 | ^7.0", + "symfony/property-access": "^5.4 | ^6.4 | ^7.0", + "symfony/property-info": "^5.4 | ^6.4 | ^7.0", + "symfony/routing": "^5.4 | ^6.4 | ^7.0", + "symfony/security-bundle": "^5.4 | ^6.4 | ^7.0", + "symfony/security-core": "^5.4 | ^6.4 | ^7.0", + "symfony/security-csrf": "^5.4 | ^6.4 | ^7.0", + "symfony/security-http": "^5.4 | ^6.4 | ^7.0", + "symfony/twig-bundle": "^5.4 | ^6.4 | ^7.0", + "symfony/var-exporter": "^5.4 | ^6.4 | ^7.0", "vlucas/phpdotenv": "^4.2 | ^5.4" }, "suggest": { diff --git a/readme.md b/readme.md index 49c9e0ab..06d2d614 100644 --- a/readme.md +++ b/readme.md @@ -9,7 +9,7 @@ A Codeception module for Symfony framework. ## Requirements -* `Symfony` `5.4.x`, `6.4.x` or higher, as per the [Symfony supported versions](https://symfony.com/releases). +* `Symfony` `5.4.x`, `6.4.x`, `7.0.x` or higher, as per the [Symfony supported versions](https://symfony.com/releases). * `PHP 8.1` or higher. ## Installation pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy