File tree Expand file tree Collapse file tree 4 files changed +38
-25
lines changed
Expand file tree Collapse file tree 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 33composer.phar
44composer.lock
55.phpunit.result.cache
6+ .idea
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1515 "require" : {
1616 "php" : " >=8.2" ,
1717 "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 "
2020 },
2121 "require-dev" : {
22- "illuminate/queue" : " ^11.0" ,
22+ "illuminate/queue" : " ^11.0|^12.0 " ,
2323 "mockery/mockery" : " ^1.6.10" ,
2424 "phpunit/phpunit" : " ^10.5.35|^11.3.6"
2525 },
You can’t perform that action at this time.
0 commit comments