Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Laravel 11.x Compatibility #67

Laravel 11.x Compatibility

Laravel 11.x Compatibility #67

Workflow file for this run

name: Test Suite
on:
push:
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.1 8.0 7.4', '8.2']
release: [stable, lowest]
services:
postgres:
image: kartoza/postgis:12.1
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DBNAME: postgres
ports:
- 5432/tcp
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v1
with:
path: ~/.composer/cache/files
key: php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: pecl
extensions: mbstring, dom, fileinfo, pgsql, intl
coverage: ${{ matrix.coverage }}
- run: composer update --no-interaction --no-progress --no-suggest --prefer-dist --prefer-${{ matrix.release }}
- run: |
vendor/bin/phpunit