Skip to content

feat: Add logger integration #83

feat: Add logger integration

feat: Add logger integration #83

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
APP_ENV: ci
strategy:
max-parallel: 10
matrix:
php: [ '8.1', '8.2', '8.3' ]
sf_version: [ '5.4', '6.4', '7.1' ]
exclude:
- php: 8.1
sf_version: 7.1
steps:
- uses: actions/checkout@v2
- name: Validate composer-5.4.json
run: composer validate --strict
- name: Setup PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Override Symfony version
run: composer run ci-symfony-install-version ${{ matrix.sf_version }}
- uses: php-actions/phpunit@v3
with:
configuration: phpunit.xml.dist
php_version: ${{ matrix.php }}
memory_limit: 1024M
version: 9
bootstrap: vendor/autoload.php
services:
neo4j:
image: neo4j:5.22
env:
NEO4J_AUTH: neo4j/testtest
options: >-
--hostname neo4j
--health-cmd "wget -q --method=HEAD http://localhost:7474 || exit 1"
--health-start-period "60s"
--health-interval "30s"
--health-timeout "15s"
--health-retries "5"
ports:
- 7474:7474
- 7687:7687