Skip to content

Laravel 11

Laravel 11 #46

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
laravel-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.0]
stability: [prefer-lowest, prefer-stable]
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Install dependencies
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/phpunit --verbose