Skip to content

Merge branch '5.x' into main #32

Merge branch '5.x' into main

Merge branch '5.x' into main #32

Workflow file for this run

name: Test Suite
on:
push:
pull_request:
jobs:
php_tests:
strategy:
matrix:
php: [8.2, 8.3]
laravel: [11.*]
os: [ubuntu-latest]
name: ${{ matrix.php }} - ${{ matrix.laravel }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
- name: Install dependencies
run: |
composer require "illuminate/support:${{ matrix.laravel }}" "illuminate/contracts:${{ matrix.laravel }}" --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction --no-suggest
- name: Run PHPUnit
run: vendor/bin/phpunit