Skip to content

Update composer.json #6

Update composer.json

Update composer.json #6

Workflow file for this run

name: Test Suite
on:
push:
pull_request:
jobs:
php_tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
php: [8.2, 8.3]
laravel: [10.*, 11.*]
os: [ubuntu-latest]
name: ${{ matrix.php }} - ${{ matrix.laravel }}
steps:
- name: Checkout code
uses: actions/checkout@v1
- 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 "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer install --no-interaction
- name: Run PHPUnit
run: vendor/bin/phpunit