Skip to content

Commit

Permalink
Fix: Enable required extensions only
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Oct 17, 2021
1 parent 50a58a6 commit 2631cf4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: :apcu, :imagick
extensions: none, json, phar, tokenizer
coverage: none
tools: none

Expand All @@ -40,7 +40,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: :apcu, :imagick
extensions: none, date, dom, json, libxml, mbstring, pdo_sqlite, phar, soap, tokenizer, xml, xmlwriter, zlib
coverage: none
tools: none

Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
runs-on: ${{ matrix.os }}

env:
PHP_EXTENSIONS: dom, json, libxml, mbstring, pdo_sqlite, soap, xml, xmlwriter, :apcu, :imagick
PHP_EXTENSIONS: none, dom, json, libxml, mbstring, openssl, pdo_sqlite, phar, soap, tokenizer, xml, xmlwriter
PHP_INI_VALUES: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On

strategy:
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
with:
php-version: ${{ matrix.php-version }}
coverage: pcov
extensions: dom, json, libxml, mbstring, pdo_sqlite, soap, xml, xmlwriter, :apcu, :imagick
extensions: none, dom, json, libxml, mbstring, pdo_sqlite, phar, soap, tokenizer, xml, xmlwriter
ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On
tools: none

Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
with:
php-version: ${{ matrix.php-version }}
coverage: pcov
extensions: dom, json, libxml, mbstring, pdo_sqlite, soap, xml, xmlwriter, :apcu, :imagick
extensions: none, dom, json, libxml, mbstring, pdo_sqlite, phar, soap, tokenizer, xml, xmlwriter
ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On
tools: none

Expand All @@ -216,7 +216,7 @@ jobs:
runs-on: ubuntu-latest

env:
PHP_EXTENSIONS: dom, json, libxml, mbstring, pdo_sqlite, soap, xml, xmlwriter
PHP_EXTENSIONS: none, dom, json, fileinfo, libxml, mbstring, pdo_sqlite, phar, soap, tokenizer, xml, xmlwriter
PHP_INI_VALUES: assert.exception=1, phar.readonly=0, zend.assertions=1

strategy:
Expand Down

0 comments on commit 2631cf4

Please sign in to comment.