File tree Expand file tree Collapse file tree 4 files changed +62
-1
lines changed Expand file tree Collapse file tree 4 files changed +62
-1
lines changed Original file line number Diff line number Diff line change 1+ name : tests
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ fail-fast : false
12+ matrix :
13+ php :
14+ - " 8.1"
15+ - " 8.2"
16+ - " 8.3"
17+ - " 8.4"
18+ laravel :
19+ - " ^10.0"
20+ - " ^11.0"
21+ - " ^12.0"
22+ exclude :
23+ - laravel : " ^11.0"
24+ php : " 8.1"
25+ - laravel : " ^12.0"
26+ php : " 8.1"
27+
28+ name : PHP:${{ matrix.php }} / Laravel:${{ matrix.laravel }} / ${{ matrix.stability }}
29+
30+ steps :
31+ - name : Checkout
32+ uses : actions/checkout@v4
33+
34+ - name : Setup PHP, with composer
35+ uses : shivammathur/setup-php@v2
36+ with :
37+ php-version : ${{ matrix.php }}
38+ tools : composer:v2
39+ coverage : none
40+
41+ - name : Install Composer dependencies
42+ run : composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update --ansi
43+
44+ - name : Install Composer dependencies
45+ run : composer update --no-interaction --no-progress --ansi
46+
47+ - name : Run Unit tests
48+ run : vendor/bin/phpunit --colors=always
Original file line number Diff line number Diff line change 1+ .phpunit.result.cache
12vendor
Original file line number Diff line number Diff line change 2121 },
2222 "require" : {
2323 "phpnexus/cwh" : " ^1.1.14 || ^2.0 || ^3.0.0" ,
24- "illuminate/support" : " ^5.1 || ^6.0 || ^7.0 || ^8.0 || ^9.0| ^10.0 || ^11.0"
24+ "illuminate/support" : " ^5.1 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12 .0"
2525 },
2626 "require-dev" : {
2727 "friendsofphp/php-cs-fixer" : " ^2.12 || ^2.16|^3.14" ,
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
4+ bootstrap =" vendor/autoload.php"
5+ colors =" true"
6+ >
7+ <testsuites >
8+ <testsuite name =" Tests" >
9+ <directory >tests</directory >
10+ </testsuite >
11+ </testsuites >
12+ </phpunit >
You can’t perform that action at this time.
0 commit comments