Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar committed Feb 24, 2025
1 parent cee6fcd commit e382c85
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 31 deletions.
36 changes: 6 additions & 30 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,75 +11,51 @@ jobs:
matrix:
php: [ "8.0", "8.1", "8.2", "8.3", "8.4" ]
laravel: [ "6.0", "7.0", "8.0", "9.0", "10.0", "11.0", "12.0" ]
doctrine: [ "2.0", "3.0" ]
exclude:
- laravel: "6.0"
doctrine: "3.0"

- laravel: "6.0"
php: "8.1"

- laravel: "6.0"
php: "8.2"

- laravel: "6.0"
php: "8.3"

- laravel: "6.0"
php: "8.4"

- laravel: "7.0"
doctrine: "3.0"

- laravel: "7.0"
php: "8.1"

- laravel: "7.0"
php: "8.2"

- laravel: "7.0"
php: "8.3"

- laravel: "7.0"
php: "8.4"

- laravel: "8.0"
doctrine: "2.0"

- laravel: "8.0"
php: "8.2"

- laravel: "8.0"
php: "8.3"

- laravel: "8.0"
php: "8.4"

- laravel: "10.0"
doctrine: "2.0"
- laravel: "9.0"
php: "8.3"
- laravel: "9.0"
php: "8.4"

- laravel: "10.0"
php: "8.0"

- laravel: "11.0"
doctrine: "2.0"

- laravel: "11.0"
php: "8.0"

- laravel: "11.0"
php: "8.1"

- laravel: "12.0"
doctrine: "2.0"

- laravel: "12.0"
php: "8.0"

- laravel: "12.0"
php: "8.1"

name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}, Doctrine ${{ matrix.doctrine }}
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}

services:
mysql:
Expand All @@ -106,7 +82,7 @@ jobs:
coverage: xdebug

- name: Install dependencies
run: composer require --dev laravel/framework:^${{ matrix.laravel }} doctrine/dbal:^${{ matrix.doctrine }}
run: composer require --dev laravel/framework:^${{ matrix.laravel }}

- name: Execute tests
run: sudo vendor/bin/phpunit
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
],
"require": {
"php": "^8.0",
"doctrine/dbal": "^2.6 || ^3.0",
"dragon-code/laravel-cache": "^3.3 || ^4.0",
"dragon-code/simple-dto": "^2.3",
"dragon-code/support": "^6.0",
Expand All @@ -57,6 +56,9 @@
"conflict": {
"andrey-helldar/last-modified": "*"
},
"suggest": {
"doctrine/dbal": "It is necessary to install when working with Laravel from 6 to 10"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
Expand Down
1 change: 1 addition & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<env name="REDIS_HOST" value="127.0.0.1"/>
<env name="REDIS_PORT" value="6379"/>
<env name="CACHE_DRIVER" value="redis"/>
<env name="CACHE_STORE" value="redis"/>
</php>
<testsuites>
<testsuite name="Test Suite">
Expand Down

0 comments on commit e382c85

Please sign in to comment.