Skip to content

Test on Symfony 7.0 #180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.*'"
Expand All @@ -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)"
Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down
46 changes: 23 additions & 23 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down