Skip to content

Commit be24b2b

Browse files
authored
Test on Symfony 7.0 (Codeception#180)
1 parent 8b4b533 commit be24b2b

File tree

3 files changed

+41
-30
lines changed

3 files changed

+41
-30
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ jobs:
99
strategy:
1010
matrix:
1111
php: [8.1, 8.2, 8.3]
12-
symfony: ["5.4.*", "6.4.*"]
12+
symfony: ["5.4.*", "6.4.*", "7.0.*"]
13+
exclude:
14+
- php: 8.1
15+
symfony: "7.0.*"
1316

1417
steps:
1518
- name: Checkout code
@@ -29,7 +32,7 @@ jobs:
2932
with:
3033
repository: Codeception/symfony-module-tests
3134
path: framework-tests
32-
ref: "5.4_codecept5"
35+
ref: "5.4"
3336

3437
- name: Checkout Symfony 6.4 Sample
3538
if: "matrix.symfony == '6.4.*'"
@@ -39,6 +42,14 @@ jobs:
3942
path: framework-tests
4043
ref: "6.4"
4144

45+
- name: Checkout Symfony 7.0 Sample
46+
if: "matrix.symfony == '7.0.*'"
47+
uses: actions/checkout@v4
48+
with:
49+
repository: Codeception/symfony-module-tests
50+
path: framework-tests
51+
ref: "7.0"
52+
4253
- name: Get composer cache directory
4354
id: composer-cache
4455
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
@@ -72,8 +83,8 @@ jobs:
7283
run: composer validate
7384
working-directory: framework-tests
7485

75-
- name: Install PHPUnit 10 in framework-tests for Symfony 6.4
76-
if: "matrix.symfony == '6.4.*'"
86+
- name: Install PHPUnit 10 in framework-tests for Symfony 6.4 and 7.0
87+
if: "matrix.symfony == '6.4.*' || matrix.symfony == '7.0.*'"
7788
run: composer require --dev --no-update "phpunit/phpunit=^10.0"
7889
working-directory: framework-tests
7990

@@ -85,8 +96,8 @@ jobs:
8596

8697
- name: Prepare the test environment
8798
run: |
88-
php bin/console d:s:u -f
89-
php bin/console d:f:l -q
99+
php bin/console doctrine:schema:update --force
100+
php bin/console doctrine:fixtures:load --quiet
90101
working-directory: framework-tests
91102

92103
- name: Run test suite

composer.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,29 @@
2727
"codeception/module-asserts": "^3.0",
2828
"codeception/module-doctrine2": "^3.0",
2929
"doctrine/orm": "^2.10",
30-
"symfony/browser-kit": "^4.4 | ^5.0 | ^6.0",
31-
"symfony/cache": "^4.4 | ^5.0 | ^6.0",
32-
"symfony/config": "^4.4 | ^5.0 | ^6.0",
33-
"symfony/dependency-injection": "^4.4 | ^5.0 | ^6.0",
34-
"symfony/dom-crawler": "^4.4 | ^5.0 | ^6.0",
35-
"symfony/error-handler": "^4.4 | ^5.0 | ^6.0",
36-
"symfony/filesystem": "^4.4 | ^5.0 | ^6.0",
37-
"symfony/form": "^4.4 | ^5.0 | ^6.0",
38-
"symfony/framework-bundle": "^4.4 | ^5.0 | ^6.0",
39-
"symfony/http-foundation": "^4.4 | ^5.0 | ^6.0",
40-
"symfony/http-kernel": "^4.4 | ^5.0 | ^6.0",
41-
"symfony/mailer": "^4.4 | ^5.0 | ^6.0",
42-
"symfony/mime": "^4.4 | ^5.0 | ^6.0",
43-
"symfony/options-resolver": "^4.4 | ^5.0 | ^6.0",
44-
"symfony/property-access": "^4.4 | ^5.0 | ^6.0",
45-
"symfony/property-info": "^4.4 | ^5.0 | ^6.0",
46-
"symfony/routing": "^4.4 | ^5.0 | ^6.0",
47-
"symfony/security-bundle": "^4.4 | ^5.0 | ^6.0",
48-
"symfony/security-core": "^4.4 | ^5.0 | ^6.0",
49-
"symfony/security-csrf": "^4.4 | ^5.0 | ^6.0",
50-
"symfony/security-http": "^4.4 | ^5.0 | ^6.0",
51-
"symfony/twig-bundle": "^4.4 | ^5.0 | ^6.0",
52-
"symfony/var-exporter": "^4.4 | ^5.0 | ^6.0",
30+
"symfony/browser-kit": "^5.4 | ^6.4 | ^7.0",
31+
"symfony/cache": "^5.4 | ^6.4 | ^7.0",
32+
"symfony/config": "^5.4 | ^6.4 | ^7.0",
33+
"symfony/dependency-injection": "^5.4 | ^6.4 | ^7.0",
34+
"symfony/dom-crawler": "^5.4 | ^6.4 | ^7.0",
35+
"symfony/error-handler": "^5.4 | ^6.4 | ^7.0",
36+
"symfony/filesystem": "^5.4 | ^6.4 | ^7.0",
37+
"symfony/form": "^5.4 | ^6.4 | ^7.0",
38+
"symfony/framework-bundle": "^5.4 | ^6.4 | ^7.0",
39+
"symfony/http-foundation": "^5.4 | ^6.4 | ^7.0",
40+
"symfony/http-kernel": "^5.4 | ^6.4 | ^7.0",
41+
"symfony/mailer": "^5.4 | ^6.4 | ^7.0",
42+
"symfony/mime": "^5.4 | ^6.4 | ^7.0",
43+
"symfony/options-resolver": "^5.4 | ^6.4 | ^7.0",
44+
"symfony/property-access": "^5.4 | ^6.4 | ^7.0",
45+
"symfony/property-info": "^5.4 | ^6.4 | ^7.0",
46+
"symfony/routing": "^5.4 | ^6.4 | ^7.0",
47+
"symfony/security-bundle": "^5.4 | ^6.4 | ^7.0",
48+
"symfony/security-core": "^5.4 | ^6.4 | ^7.0",
49+
"symfony/security-csrf": "^5.4 | ^6.4 | ^7.0",
50+
"symfony/security-http": "^5.4 | ^6.4 | ^7.0",
51+
"symfony/twig-bundle": "^5.4 | ^6.4 | ^7.0",
52+
"symfony/var-exporter": "^5.4 | ^6.4 | ^7.0",
5353
"vlucas/phpdotenv": "^4.2 | ^5.4"
5454
},
5555
"suggest": {

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A Codeception module for Symfony framework.
99

1010
## Requirements
1111

12-
* `Symfony` `5.4.x`, `6.4.x` or higher, as per the [Symfony supported versions](https://symfony.com/releases).
12+
* `Symfony` `5.4.x`, `6.4.x`, `7.0.x` or higher, as per the [Symfony supported versions](https://symfony.com/releases).
1313
* `PHP 8.1` or higher.
1414

1515
## Installation

0 commit comments

Comments
 (0)
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