File tree Expand file tree Collapse file tree 5 files changed +67
-6
lines changed Expand file tree Collapse file tree 5 files changed +67
-6
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 >
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public function testGetLoggerShouldResolveCustomFormatterInstanceFromConfigurati
1919    {
2020        $ cloudwatchConfigs  = [
2121            'name '  => '' ,
22-             'region '  => '' ,
22+             'region '  => 'us-east-1 ' ,
2323            'credentials '  => [
2424                'key '  => '' ,
2525                'secret '  => '' ,
@@ -70,7 +70,7 @@ public function testGetLoggerShouldResolveDefaultFormatterInstanceWhenConfigIsNu
7070    {
7171        $ cloudwatchConfigs  = [
7272            'name '  => '' ,
73-             'region '  => '' ,
73+             'region '  => 'us-east-1 ' ,
7474            'credentials '  => [
7575                'key '  => '' ,
7676                'secret '  => '' ,
@@ -121,7 +121,7 @@ public function testGetLoggerShouldResolveDefaultFormatterInstanceWhenConfigIsNo
121121    {
122122        $ cloudwatchConfigs  = [
123123            'name '  => '' ,
124-             'region '  => '' ,
124+             'region '  => 'us-east-1 ' ,
125125            'credentials '  => [
126126                'key '  => '' ,
127127                'secret '  => '' ,
@@ -171,7 +171,7 @@ public function testGetLoggerShouldResolveCallableFormatter()
171171    {
172172        $ cloudwatchConfigs  = [
173173            'name '  => '' ,
174-             'region '  => '' ,
174+             'region '  => 'us-east-1 ' ,
175175            'credentials '  => [
176176                'key '  => '' ,
177177                'secret '  => '' ,
@@ -224,7 +224,7 @@ public function testInvalidFormatterWillThrowException()
224224    {
225225        $ cloudwatchConfigs  = [
226226            'name '  => '' ,
227-             'region '  => '' ,
227+             'region '  => 'us-east-1 ' ,
228228            'credentials '  => [
229229                'key '  => '' ,
230230                'secret '  => '' ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments