typo fix #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [master] | |
paths-ignore: ['**/*.md'] | |
pull_request: | |
branches: [master] | |
paths-ignore: ['**/*.md'] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
laravel-versions: ["^6.0", "^7.0", "^8.0", "^9.0", "^10.0", "^11.0"] | |
php-versions: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"] | |
exclude: | |
- laravel-versions: "^6.0" | |
php-versions: "8.1" | |
- laravel-versions: "^6.0" | |
php-versions: "8.2" | |
- laravel-versions: "^7.0" | |
php-versions: "8.1" | |
- laravel-versions: "^7.0" | |
php-versions: "8.2" | |
- laravel-versions: "^8.0" | |
php-versions: "7.2" | |
- laravel-versions: "^9.0" | |
php-versions: "7.2" | |
- laravel-versions: "^9.0" | |
php-versions: "7.3" | |
- laravel-versions: "^9.0" | |
php-versions: "7.4" | |
- laravel-versions: "^10.0" | |
php-versions: "7.2" | |
- laravel-versions: "^10.0" | |
php-versions: "7.3" | |
- laravel-versions: "^10.0" | |
php-versions: "7.4" | |
- laravel-versions: "^10.0" | |
php-versions: "8.0" | |
- laravel-versions: "^11.0" | |
php-versions: "7.2" | |
- laravel-versions: "^11.0" | |
php-versions: "7.3" | |
- laravel-versions: "^11.0" | |
php-versions: "7.4" | |
- laravel-versions: "^11.0" | |
php-versions: "8.0" | |
- laravel-versions: "^11.0" | |
php-versions: "8.1" | |
name: PHP ${{ matrix.php-versions }} with Laravel ${{ matrix.laravel-versions }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: mbstring, dom, fileinfo | |
- name: Install Composer dependencies | |
run: | | |
composer require --dev --no-progress --no-suggest -n -o "laravel/framework:${{ matrix.laravel-versions }}" | |
composer install --no-progress --no-suggest -n -o | |
- name: Migrate phpunit config | |
if: ${{ matrix.php-versions >= '8.1' }} | |
run: composer exec -- phpunit --migrate-configuration | |
- name: Run test suite | |
run: composer test:dist | |
# - name: Run test coverage | |
# run: composer test:coverage |