mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 18:13:11 +00:00
IMHO it's impractical to expect this package to have to work with the "first release of Laravel for any major release" even when there are already sever more releases: no one is/should stick to that version. This is a re-submit of https://github.com/barryvdh/laravel-ide-helper/pull/1076 See also: - https://github.com/barryvdh/laravel-ide-helper/pull/1216#issuecomment-831029022 - https://github.com/barryvdh/laravel-ide-helper/pull/1185#issuecomment-831029353
47 lines
988 B
YAML
47 lines
988 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- "*"
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
|
|
jobs:
|
|
php-tests:
|
|
runs-on: ubuntu-20.04
|
|
timeout-minutes: 15
|
|
env:
|
|
COMPOSER_NO_INTERACTION: 1
|
|
|
|
strategy:
|
|
matrix:
|
|
php: [8.0, 7.4, 7.3]
|
|
laravel: [8.*]
|
|
|
|
name: P${{ matrix.php }} - L${{ matrix.laravel }}
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup PHP
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: ${{ matrix.php }}
|
|
coverage: none
|
|
extensions: pdo_sqlite
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
composer remove vimeo/psalm --no-update --dev
|
|
composer remove friendsofphp/php-cs-fixer --no-update --dev
|
|
composer require "laravel/framework:${{ matrix.laravel }}" --no-update --no-progress
|
|
composer update --prefer-dist --no-progress
|
|
|
|
- name: Execute Unit Tests
|
|
run: composer test-ci
|