Skip to content

php 8.3 support

php 8.3 support #25

Workflow file for this run

name: PHPunit Postgres 14
on:
push:
branches:
- master
pull_request: null
jobs:
phpunit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [ '7.4', '8.0', '8.1', '8.2' ]
name: PHPunit PHP ${{ matrix.php }}
services:
postgres:
image: postgres:14
env:
POSTGRES_PASSWORD: 123
options: --health-cmd="pg_isready" --health-interval=10s --health-timeout=5s --health-retries=5
ports:
- 5432
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Composer update
run: composer update --no-progress --no-interaction
- name: PHPunit
run: vendor/bin/phpunit --coverage-text
env:
POPULATOR_ADAPTER: pgsql
POPULATOR_HOST: localhost
POPULATOR_PORT: ${{ job.services.postgres.ports[5432] }}
POPULATOR_USERNAME: postgres
POPULATOR_PASSWORD: 123