File tree Expand file tree Collapse file tree 2 files changed +21
-9
lines changed Expand file tree Collapse file tree 2 files changed +21
-9
lines changed Original file line number Diff line number Diff line change 11name : Unit Test
2- on : [ push ]
2+
3+ on :
4+ - push
5+
36jobs :
47 run :
58 runs-on : ubuntu-latest
9+
610 strategy :
711 matrix :
8- php-version : ['8.0', '8.1']
9- laravel-version : ['^8', '^9', 10.0]
12+ php-version : ['8.0', '8.1', '8.2']
13+ laravel-version : [10.0, '11.0', ^8, ^9]
14+ exclude :
15+ - laravel-version : ' 11.0'
16+ php-version : ' 8.0'
17+ - laravel-version : ' 11.0'
18+ php-version : ' 8.1'
19+
1020 steps :
1121 - name : Setup PHP
1222 uses : shivammathur/setup-php@v2
1323 with :
1424 php-version : ${{ matrix.php-version }}
25+
1526 - uses : actions/checkout@v2
27+
1628 - name : Install laravel
1729 run : composer require illuminate/contracts:${{ matrix.laravel-version }} --no-interaction --prefer-dist --no-progress
30+
1831 - name : Run unit tests
1932 run : vendor/bin/phpunit
20-
Original file line number Diff line number Diff line change 1919 ],
2020 "require" : {
2121 "php" : " ^8.0.2" ,
22- "illuminate/contracts" : " ^8.0|^9.0|^10.0" ,
23- "illuminate/http" : " ^8.0|^9.0|^10.0" ,
24- "illuminate/support" : " ^8.0|^9.0|^10.0"
22+ "illuminate/contracts" : " ^8.0|^9.0|^10.0|^11.0 " ,
23+ "illuminate/http" : " ^8.0|^9.0|^10.0|^11.0 " ,
24+ "illuminate/support" : " ^8.0|^9.0|^10.0|^11.0 "
2525 },
2626 "require-dev" : {
27- "orchestra/testbench" : " ^6.0|^7.0|^8.0" ,
28- "phpunit/phpunit" : " ^9.0"
27+ "orchestra/testbench" : " ^6.0|^7.0|^8.0|^9.0 " ,
28+ "phpunit/phpunit" : " ^9.0|^10.5 "
2929 },
3030 "autoload" : {
3131 "psr-4" : {
You can’t perform that action at this time.
0 commit comments