Commit 6df7636 1 parent 6972480 commit 6df7636 Copy full SHA for 6df7636
File tree 4 files changed +38
-25
lines changed
4 files changed +38
-25
lines changed Original file line number Diff line number Diff line change
1
+ name : PHPUnit tests
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ tests :
7
+ runs-on : ubuntu-latest
8
+ strategy :
9
+ fail-fast : false
10
+ matrix :
11
+ os : [ ubuntu-latest ]
12
+ php : [ 8.2, 8.3, 8.4 ]
13
+ laravel : [ 11.*, 12.* ]
14
+ stability : [ prefer-lowest, prefer-stable ]
15
+
16
+ name : Tests on PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }}
17
+
18
+ steps :
19
+ - name : Checkout code
20
+ uses : actions/checkout@v4
21
+
22
+ - name : Setup PHP
23
+ uses : shivammathur/setup-php@v2
24
+ with :
25
+ php-version : ${{ matrix.php }}
26
+ tools : composer:v2
27
+
28
+ - name : Install dependencies
29
+ run : |
30
+ composer require "illuminate/notifications:${{ matrix.laravel }}" "illuminate/support:${{ matrix.laravel }}" --no-interaction --no-update
31
+ composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
32
+
33
+ - name : Execute tests
34
+ run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 3
3
composer.phar
4
4
composer.lock
5
5
.phpunit.result.cache
6
+ .idea
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 15
15
"require" : {
16
16
"php" : " >=8.2" ,
17
17
"guzzlehttp/guzzle" : " ^7.8.2" ,
18
- "illuminate/notifications" : " ^11.0" ,
19
- "illuminate/support" : " ^11.0"
18
+ "illuminate/notifications" : " ^11.0|^12.0 " ,
19
+ "illuminate/support" : " ^11.0|^12.0 "
20
20
},
21
21
"require-dev" : {
22
- "illuminate/queue" : " ^11.0" ,
22
+ "illuminate/queue" : " ^11.0|^12.0 " ,
23
23
"mockery/mockery" : " ^1.6.10" ,
24
24
"phpunit/phpunit" : " ^10.5.35|^11.3.6"
25
25
},
You can’t perform that action at this time.
0 commit comments