Skip to content

Laravel 10

Laravel 10 #116

Workflow file for this run

name: CI(PhpStan -> PhpUnit)
on:
pull_request:
jobs:
php-tests:
if: (!contains(github.event.head_commit.message, '[skip ci]'))
strategy:
matrix:
os: [ubuntu-latest]
php: [8.2]
laravel: [10.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
runs-on: ${{ matrix.os }}
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, pdo_sqlite
coverage: none
- run: composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update --dev
- run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Static analysis
run: vendor/bin/phpstan --memory-limit=512M analyze
- name: Unit testing
run: vendor/bin/phpunit