diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6a9d37..ef477e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -118,7 +118,6 @@ jobs: run: | sudo apt-get update -y sudo apt-get install -y libpq-dev postgresql-client - sudo apt install -y php8.3-xdebug - name: 'Setup cache environment' id: cache-env uses: shivammathur/cache-extensions@v1 @@ -137,8 +136,8 @@ jobs: with: php-version: ${{ matrix.php_versions }} extensions: ${{ env.php_extensions }} - ini-values: 'pcov.directory=src, date.timezone=UTC, upload_max_filesize=20M, post_max_size=20M, memory_limit=512M, short_open_tag=Off' - coverage: pcov + ini-values: 'date.timezone=UTC, upload_max_filesize=20M, post_max_size=20M, memory_limit=512M, short_open_tag=Off, xdebug.mode="develop,coverage"' + coverage: xdebug tools: 'phpunit' - name: 'Install PHP dependencies with Composer' continue-on-error: ${{ matrix.experimental }} @@ -147,6 +146,7 @@ jobs: - name: 'Run Unit Tests with PHPUnit' continue-on-error: ${{ matrix.experimental }} run: | + php -v sed -e "s/\${USERNAME}/${{ env.DB_USER }}/" \ -e "s/\${PASSWORD}/${{ env.DB_PASSWORD }}/" \ -e "s/\${DATABASE}/${{ env.DB_NAME }}/" \