Skip to content

Add support for nested aggregations #588

Add support for nested aggregations

Add support for nested aggregations #588

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
php-tests:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
php: [8.0, 8.1, 8.2, 8.3]
experimental: [ false ]
include:
- php: 8.4
experimental: true
name: PHP${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug
- name: Install dependencies
run: composer update --prefer-dist --no-suggest --no-interaction --no-scripts
if: ${{ matrix.experimental == false }}
- name: Install experimental dependencies
run: composer update --prefer-dist --no-suggest --no-interaction --no-scripts --ignore-platform-reqs
if: ${{ matrix.experimental == true }}
- run: composer dump-autoload -q
- name: Check codestyle
run: vendor/bin/ecs check --config=easy-coding-standard.php --no-progress-bar .
- name: Execute unit tests
run: vendor/bin/phpunit --testsuite unit --testdox --colors=always
- name: Execute mutation tests
run: vendor/bin/infection --threads=4 --min-covered-msi=100 --min-msi=100
- name: PHPStan analysis
run: vendor/bin/phpstan analyse
# PHPStan seems to reach any memory limit set when using php 8.3. Disabling for now
if: ${{ matrix.experimental == false }}