Skip to content

Support Illuminate Collections 11.x #201

Support Illuminate Collections 11.x

Support Illuminate Collections 11.x #201

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 ]
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 test suite
run: |
vendor/bin/phpcs src --standard=PSR12
vendor/bin/phpunit