Skip to content

Apply fixes from StyleCI #813

Apply fixes from StyleCI

Apply fixes from StyleCI #813

Workflow file for this run

name: phpunit
on: [ push, pull_request ]
permissions: read-all
jobs:
laravel:
strategy:
fail-fast: true
matrix:
os: [ "ubuntu", "macos" ]
php: [ "8.1", "8.2", "8.3" ]
laravel: [ "10.0", "11.0" ]
exclude:
- laravel: "11.0"
php: "8.1"
runs-on: ${{ matrix.os }}-latest
name: OS ${{ matrix.os }}, PHP ${{ matrix.php }}, LRV ${{ matrix.laravel }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
coverage: xdebug
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: composer require laravel/framework:^${{ matrix.laravel }}
- name: Execute tests
run: sudo vendor/bin/phpunit