File tree Expand file tree Collapse file tree 4 files changed +43
-29
lines changed Expand file tree Collapse file tree 4 files changed +43
-29
lines changed Original file line number Diff line number Diff line change 1+ name : PHP
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ run :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ max-parallel : 15
10+ matrix :
11+ laravel-version : ['^6.0', '^7.0', '^8.0']
12+ php-versions : ['7.3', '7.4']
13+ name : PHP ${{ matrix.php-versions }} on Laravel ${{ matrix.laravel-version }}
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@master
17+ - name : Setup PHP
18+ uses : shivammathur/setup-php@master
19+ with :
20+ php-version : ${{ matrix.php-versions }}
21+ extensions : mbstring, xdebug
22+ coverage : xdebug
23+ - name : Install dependencies
24+ run : |
25+ composer require --no-update --no-interaction "illuminate/support:${{ matrix.laravel-version }}"
26+ composer update --no-interaction --prefer-dist --no-suggest
27+ - name : Lint composer.json
28+ run : composer validate
29+ - name : Run Tests
30+ run : composer test:ci
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ $ composer test
9494
9595## Security
9696
97- If you discover any security related issues, please email m.pociot @gmail.com instead of using the issue tracker.
97+ If you discover any security related issues, please email atymicq @gmail.com instead of using the issue tracker.
9898
9999## Contributing
100100
Original file line number Diff line number Diff line change 88 "name" : " Marcel Pociot" ,
99 "email" : " m.pociot@gmail.com" ,
1010 "homepage" : " http://www.marcelpociot.com"
11+ },
12+ {
13+ "name" : " atymic" ,
14+ "email" : " atymicq@gmail.com" ,
15+ "homepage" : " https://atymic.dev"
1116 }
1217 ],
1318 "require" : {
1419 "php" : " ^7.2.5" ,
15- "guzzlehttp/guzzle" : " ^7.0" ,
16- "illuminate/notifications" : " ^7.0|| ^8.0" ,
17- "illuminate/support" : " ^7.0|| ^8.0"
20+ "guzzlehttp/guzzle" : " ^6.2 || ^ 7.0" ,
21+ "illuminate/notifications" : " ^6.0 || ^ 7.0 || ^8.0" ,
22+ "illuminate/support" : " ^6.0 || ^ 7.0 || ^8.0"
1823 },
1924 "require-dev" : {
2025 "mockery/mockery" : " ^1.3" ,
2126 "phpunit/phpunit" : " ^9.0" ,
22- "orchestra/testbench" : " ^5.0|| ^6.0" ,
23- "orchestra/database" : " ^5.0|| ^6.0"
27+ "orchestra/testbench" : " ^4.0 || ^ 5.0 || ^6.0" ,
28+ "orchestra/database" : " ^4.0 || ^ 5.0 || ^6.0"
2429 },
2530 "autoload" : {
2631 "psr-4" : {
3338 }
3439 },
3540 "scripts" : {
36- "test" : " vendor/bin/phpunit"
41+ "test" : " vendor/bin/phpunit" ,
42+ "test:ci" : " phpunit --coverage-clover=coverage.xml"
3743 },
3844 "config" : {
3945 "sort-packages" : true
You can’t perform that action at this time.
0 commit comments