File tree Expand file tree Collapse file tree 3 files changed +127
-138
lines changed Expand file tree Collapse file tree 3 files changed +127
-138
lines changed Original file line number Diff line number Diff line change 55
66jobs :
77 test :
8- runs-on : ${{ matrix.os }}
9- strategy :
10- matrix :
11- php : [7.4]
12- laravel : [7.*, 6.*]
13- dependency-version : [prefer-lowest, prefer-stable]
14- os : [ubuntu-latest]
15- include :
16- - laravel : 7.*
17- - laravel : 6.*
18-
19- name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
8+ name : Run tests
9+ runs-on : ubuntu-latest
2010
2111 steps :
2212 - name : Checkout code
@@ -29,15 +19,14 @@ jobs:
2919 key : dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
3020
3121 - name : Setup PHP
32- uses : shivammathur/setup-php@v1
22+ uses : shivammathur/setup-php@master
3323 with :
34- php-version : ${{ matrix.php }}
24+ php-version : 7.4
25+ tools : prestissimo
3526 coverage : none
3627
3728 - name : Install dependencies
38- run : |
39- composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
40- composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
29+ run : composer install
4130
4231 - name : Execute tests
4332 run : vendor/bin/pest
Original file line number Diff line number Diff line change 1010 ],
1111 "require" : {
1212 "php" : " ^7.4" ,
13- "laravel/framework" : " ^6.0 | ^7.0" ,
14- "pda/pheanstalk" : " ^4.0" ,
15- "mockery/mockery" : " ^1.4"
13+ "laravel/framework" : " ^7.0" ,
14+ "pda/pheanstalk" : " ^4.0"
1615 },
1716 "require-dev" : {
1817 "phpunit/phpunit" : " ^9.2" ,
19- "pestphp/pest" : " ^0.1.5"
18+ "pestphp/pest" : " ^0.1.5" ,
19+ "mockery/mockery" : " ^1.4"
2020 },
2121 "autoload" : {
2222 "psr-4" : {
You can’t perform that action at this time.
0 commit comments