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

Bump Compability to Laravel 11 #72

Bump Compability to Laravel 11

Bump Compability to Laravel 11 #72

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]
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