Skip to content

Implement createMetadataProvider() in ClickHousePlatform for Doctrine compatibility #91

Implement createMetadataProvider() in ClickHousePlatform for Doctrine compatibility

Implement createMetadataProvider() in ClickHousePlatform for Doctrine compatibility #91

Workflow file for this run

name: Tests
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
permissions:
contents: read
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.2', '8.3', '8.4', '8.5']
fail-fast: false
services:
clickhouse:
image: yandex/clickhouse-server
ports:
- 8123:8123
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: pdo
ini-values: "memory_limit=-1"
tools: composer:v2
coverage: xdebug
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache composer dependencies
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.php-versions }}-composer-${{ hashFiles('composer.json') }}
restore-keys: ${{ runner.os }}-${{ matrix.php-versions }}-composer-
- name: Install dependencies
run: composer install --no-progress --prefer-dist --no-interaction
- name: Run tests
run: ./vendor/bin/phpunit --configuration ./phpunit.xml.dist --coverage-text