mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-11-30 04:39:01 +01:00
chore: test matrix for various laravel versions
This commit is contained in:
parent
845ce6b740
commit
4de09ed5e9
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -11,12 +11,20 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
php: [7.1, 8.0]
|
||||
illuminate_version: [5.5.*, 6.*, 7.*]
|
||||
|
||||
name: PHP ${{ matrix.php }} | Illuminate ${{ matrix.illuminate_version }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: export COMPOSER_ROOT_VERSION=dev-master && composer install --prefer-dist --no-progress --no-suggest
|
||||
run: |
|
||||
export COMPOSER_ROOT_VERSION=dev-master
|
||||
composer require "illuminate/container:${{ matrix.illuminate_version }}" "illuminate/contracts:${{ matrix.illuminate_version }}" "illuminate/database:${{ matrix.illuminate_version }}" "illuminate/http:${{ matrix.illuminate_version }}" "illuminate/support:${{ matrix.illuminate_version }}" --no-interaction --no-progress --no-suggest
|
||||
|
||||
- name: Run Tests
|
||||
run: vendor/bin/codecept run
|
||||
|
@ -12,8 +12,7 @@
|
||||
"illuminate/http": "^5.5 || ^6.0 || ^7.0",
|
||||
"illuminate/support": "^5.5 || ^6.0 || ^7.0",
|
||||
"vimeo/psalm": "^3.8.2",
|
||||
"orchestra/testbench": "^3.5 || ^4.0 || ^5.0",
|
||||
"nesbot/carbon": "^2"
|
||||
"orchestra/testbench": "^3.5 || ^4.0 || ^5.0"
|
||||
},
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
|
Loading…
Reference in New Issue
Block a user