|
|
|
@ -10,13 +10,8 @@ jobs:
|
|
|
|
|
fail-fast: false
|
|
|
|
|
matrix:
|
|
|
|
|
php: [8.1, 8.0]
|
|
|
|
|
laravel: [9.*]
|
|
|
|
|
dependency-version: [prefer-lowest, prefer-stable]
|
|
|
|
|
include:
|
|
|
|
|
- laravel: 9.*
|
|
|
|
|
testbench: 7.*
|
|
|
|
|
|
|
|
|
|
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
|
|
|
|
|
name: PHP${{ matrix.php }}
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout code
|
|
|
|
@ -30,9 +25,7 @@ jobs:
|
|
|
|
|
coverage: none
|
|
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
|
run: |
|
|
|
|
|
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "symfony/console:>=4.3.4" "mockery/mockery:^1.3.2" --no-interaction --no-update
|
|
|
|
|
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
|
|
|
|
|
run: composer install
|
|
|
|
|
|
|
|
|
|
- name: Create Environment file and generate app key
|
|
|
|
|
run: |
|
|
|
|
|