Skip to content

Commit 6a2a457

Browse files
authored
Merge pull request #20 from iazaran/Test-cover-PHP-8.1+-and-Laravel-8+
Test cover php 8.1+ and laravel 8+
2 parents 355f80f + 17fa717 commit 6a2a457

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,25 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: [8.2, 8.3]
17-
laravel: [11.*, 12.*]
16+
php: [8.1, 8.2, 8.3]
17+
laravel: [8.*, 9.*, 10.*, 11.*, 12.*]
1818
stability: [prefer-stable]
1919
include:
20+
- laravel: 8.*
21+
testbench: ^6.0
22+
- laravel: 9.*
23+
testbench: ^7.0
24+
- laravel: 10.*
25+
testbench: ^8.0
2026
- laravel: 11.*
2127
testbench: ^9.0
2228
- laravel: 12.*
2329
testbench: ^10.0
30+
exclude:
31+
- laravel: 11.*
32+
php: 8.1
33+
- laravel: 12.*
34+
php: 8.1
2435

2536
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
2637

composer.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,16 @@
3434
],
3535
"require": {
3636
"php": "^8.1",
37-
"illuminate/support": ">=8.0",
38-
"illuminate/cache": ">=8.0",
39-
"illuminate/console": ">=8.0",
40-
"illuminate/contracts": ">=8.0"
37+
"illuminate/support": "^8.0||^9.0||^10.0||^11.0||^12.0",
38+
"illuminate/cache": "^8.0||^9.0||^10.0||^11.0||^12.0",
39+
"illuminate/console": "^8.0||^9.0||^10.0||^11.0||^12.0",
40+
"illuminate/contracts": "^8.0||^9.0||^10.0||^11.0||^12.0"
4141
},
4242
"require-dev": {
4343
"phpunit/phpunit": "^9.0|^10.0|^11.0",
44-
"orchestra/testbench": "^10.0",
44+
"orchestra/testbench": "^6.0||^7.0||^8.0||^9.0||^10.0",
4545
"mockery/mockery": "^1.5",
46-
"symfony/var-dumper": "^6.0|^7.0",
47-
"laravel/framework": "12.*"
46+
"symfony/var-dumper": "^5.4|^6.0|^7.0"
4847
},
4948
"autoload": {
5049
"psr-4": {

0 commit comments

Comments
 (0)