File tree Expand file tree Collapse file tree 3 files changed +29
-6
lines changed Expand file tree Collapse file tree 3 files changed +29
-6
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,6 @@ trim_trailing_whitespace = true
1313
1414[* .md ]
1515trim_trailing_whitespace = false
16+
17+ [* .yml ]
18+ indent_size = 2
Original file line number Diff line number Diff line change 1+ name : Unit Test
2+ on : [ push ]
3+ jobs :
4+ run :
5+ runs-on : ubuntu-latest
6+ strategy :
7+ matrix :
8+ php-version : ['8.0', '8.1']
9+ laravel-version : ['^9']
10+ steps :
11+ - name : Setup PHP
12+ uses : shivammathur/setup-php@v2
13+ with :
14+ php-version : ${{ matrix.php-version }}
15+ - uses : actions/checkout@v2
16+ - name : Install laravel
17+ run : composer require illuminate/contracts:${{ matrix.laravel-version }} --no-interaction --prefer-dist --no-progress
18+ - name : Run unit tests
19+ run : vendor/bin/phpunit
20+
Original file line number Diff line number Diff line change 1818 }
1919 ],
2020 "require" : {
21- "php" : " ^7.2|^ 8.0" ,
22- "illuminate/contracts" : " ^6.0|^7.0|^8 .0" ,
23- "illuminate/http" : " ^6.0|^7.0|^8 .0" ,
24- "illuminate/support" : " ^6.0|^7.0|^8 .0"
21+ "php" : " ^8.0.2 " ,
22+ "illuminate/contracts" : " ^9 .0" ,
23+ "illuminate/http" : " ^9 .0" ,
24+ "illuminate/support" : " ^9 .0"
2525 },
2626 "require-dev" : {
27- "orchestra/testbench" : " ^4.0|^5.0|^6 .0" ,
28- "phpunit/phpunit" : " ^8.0|^ 9.0"
27+ "orchestra/testbench" : " ^7 .0" ,
28+ "phpunit/phpunit" : " ^9.0"
2929 },
3030 "autoload" : {
3131 "psr-4" : {
You can’t perform that action at this time.
0 commit comments