Skip to content

Support Illuminate Collections 12.x #216

Support Illuminate Collections 12.x

Support Illuminate Collections 12.x #216

Workflow file for this run

name: "Run Tests"
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [ 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 ]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run PHPCS tests
run: vendor/bin/phpcs src --standard=PSR12
- name: Run test suite
run: vendor/bin/phpunit