File tree Expand file tree Collapse file tree 4 files changed +2870
-1937
lines changed
Expand file tree Collapse file tree 4 files changed +2870
-1937
lines changed Original file line number Diff line number Diff line change 1+ name : Unit Tests
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+
9+ strategy :
10+ matrix :
11+ php : ['8.2']
12+ laravel : [9.*, 10.*, 11.*]
13+ include :
14+ - php : 8.1
15+ laravel : 9.*
16+ - php : 8.1
17+ laravel : 10.*
18+
19+ name : Unit Tests - PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
20+ steps :
21+ - uses : actions/checkout@v1
22+
23+ - name : Setup PHP
24+ uses : shivammathur/setup-php@v2
25+ with :
26+ php-version : ${{ matrix.php }}
27+ extensions : mbstring, php-xml, sqlite3
28+ coverage : xdebug
29+
30+ - name : Install dependencies
31+ run : |
32+ composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
33+ composer update --prefer-dist --no-interaction
34+
35+ - name : Run test suite
36+ run : composer run-script test
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ The entire intent of this library is to make JsonSchema feel like a first class
1414
1515## Laravel Version Compatibility
1616
17- This package supports Laravel ` v9 ` and ` v10 `
17+ This package supports Laravel ` v9+ ` .
1818
1919## Installation
2020
Original file line number Diff line number Diff line change 1010 ],
1111 "license" : " MIT" ,
1212 "require" : {
13- "laravel/framework" : " ^9.19 || ^10.0" ,
13+ "laravel/framework" : " ^9.19 || ^10.0 || ^11.0 " ,
1414 "opis/json-schema" : " ^2.3" ,
1515 "php" : " ^8.1"
1616 },
1717 "require-dev" : {
18- "brianium/paratest" : " ^6.6" ,
1918 "fakerphp/faker" : " ^1.9.1" ,
2019 "mockery/mockery" : " ^1.4.4" ,
21- "nunomaduro/collision" : " ^6.1" ,
22- "orchestra/testbench" : " ^7.11 " ,
20+ "nunomaduro/collision" : " ^6.1|7.*|8.* " ,
21+ "orchestra/testbench" : " 7.*|8.*|9.* " ,
2322 "phpstan/phpstan" : " ^1.8" ,
24- "phpunit/phpunit" : " ^9.5.10 " ,
23+ "phpunit/phpunit" : " ~8.0|~9.0|^10.5 " ,
2524 "squizlabs/php_codesniffer" : " ^3.7"
2625 },
2726 "autoload" : {
5049 }
5150 }
5251 },
52+ "scripts" : {
53+ "test" : " vendor/bin/phpunit"
54+ },
5355 "minimum-stability" : " dev" ,
5456 "prefer-stable" : true
55- }
57+ }
You can’t perform that action at this time.
0 commit comments