Skip to content

Commit

Permalink
Support Symfony 6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
TavoNiievez committed Jan 2, 2024
1 parent 6c8b03c commit fb80fcc
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ jobs:
strategy:
matrix:
php: [8.0, 8.1, 8.2]
symfony: ["4.4.*", "5.4.*", "6.0.*", "6.1.*", "6.2.*"]
symfony: ["4.4.*", "5.4.*", "6.0.*", "6.1.*", "6.2.*", "6.3.*"]
exclude:
- php: 8.0
symfony: "6.1.*"
- php: 8.0
symfony: "6.2.*"
- php: 8.0
symfony: "6.3.*"

steps:
- name: Checkout code
Expand Down Expand Up @@ -68,6 +70,14 @@ jobs:
path: framework-tests
ref: "6.2"

- name: Checkout Symfony 6.3 Sample
if: "matrix.symfony == '6.3.*'"
uses: actions/checkout@v2
with:
repository: Codeception/symfony-module-tests
path: framework-tests
ref: "6.3"

- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
Expand Down Expand Up @@ -102,7 +112,7 @@ jobs:
working-directory: framework-tests

- name: Install PHPUnit 10 in framework-tests for Symfony 6.1 and 6.2
if: "matrix.symfony == '6.1.*' || matrix.symfony == '6.2.*'"
if: "matrix.symfony == '6.1.*' || matrix.symfony == '6.2.*' || matrix.symfony == '6.3.*'"
run: composer require --dev --no-update "phpunit/phpunit=^10.0"
working-directory: framework-tests

Expand Down
18 changes: 17 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,36 @@
"require": {
"php": "^8.0",
"ext-json": "*",
"codeception/codeception": "^5.0.0-RC3",
"codeception/codeception": "^5.0.8",
"codeception/lib-innerbrowser": "^3.1.1 | ^4.0"
},
"require-dev": {
"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",
"vlucas/phpdotenv": "^4.2 | ^5.4"
},
"suggest": {
Expand Down

0 comments on commit fb80fcc

Please sign in to comment.