|
|
@@ -35,14 +35,8 @@ jobs:
|
|
|
if: matrix.os == 'ubuntu-latest'
|
|
|
run: sudo apt-get install unzip p7zip-full
|
|
|
|
|
|
- -
|
|
|
- name: Set JIT args
|
|
|
- if: matrix.php == '8.0'
|
|
|
- run: echo "PHP_INI=\"$PHP_INI, opcache.jit_buffer_size=256M\"" >> $GITHUB_ENV
|
|
|
-
|
|
|
-
|
|
|
name: Install PHP with extensions
|
|
|
- if: matrix.php == '7.4'
|
|
|
uses: shivammathur/setup-php@v2
|
|
|
with:
|
|
|
php-version: 7.4
|
|
|
@@ -51,17 +45,6 @@ jobs:
|
|
|
ini-values: ${{ env.PHP_INI }}
|
|
|
tools: composer:v2
|
|
|
|
|
|
- -
|
|
|
- name: Install PHP 8.0 with extensions
|
|
|
- if: matrix.php == '8.0'
|
|
|
- uses: shivammathur/setup-php@v2
|
|
|
- with:
|
|
|
- php-version: 8.0
|
|
|
- extensions: ${{ env.extensions }}
|
|
|
- coverage: pcov
|
|
|
- ini-values: date.timezone='UTC', memory_limit=-1, opcache.enable=1, opcache.enable_cli=1, opcache.jit_buffer_size=256M
|
|
|
- tools: composer:v2
|
|
|
-
|
|
|
-
|
|
|
name: Determine composer cache directory on Linux
|
|
|
if: matrix.os == 'ubuntu-latest'
|
|
|
@@ -121,4 +104,3 @@ jobs:
|
|
|
run: |
|
|
|
wget https://scrutinizer-ci.com/ocular.phar
|
|
|
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|
|
|
-
|