Adjust extensions used on GitHub actions workflows

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-03-04 23:36:49 +01:00
parent 92fd1d1f62
commit 9f3bd5bfb9
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
3 changed files with 6 additions and 13 deletions

View File

@ -45,8 +45,6 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: 7.1
extensions: mbstring, iconv, mysqli, zip, gd
tools: composer:v2
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cache module
@ -60,7 +58,8 @@ jobs:
path: .phpcs-cache
key: phpcs-cache
- name: Install dependencies
run: composer install
# Ignore zip for php-webdriver/webdriver
run: composer install --ignore-platform-req=ext-zip
- name: Lint PHP files
run: ./test/ci-phplint
- name: Check coding-standard
@ -77,8 +76,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: 7.2
extensions: mbstring, iconv, mysqli, zip, gd
tools: composer:v2
extensions: mbstring, iconv, mysqli, zip, gd, bz2
- name: Cache module
uses: actions/cache@v2
with:

View File

@ -62,8 +62,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, iconv, mysqli, zip, gd
tools: composer:v2
extensions: mbstring, iconv, mysqli, zip, gd, bz2
- name: Cache module
uses: actions/cache@v2
with:

View File

@ -27,9 +27,8 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, iconv, mysqli, zip, gd
extensions: mbstring, iconv, mysqli, zip, gd, bz2
coverage: xdebug
tools: composer:v2
- name: Cache module
uses: actions/cache@v2
with:
@ -78,7 +77,6 @@ jobs:
php-version: ${{ matrix.php-version }}
extensions: dbase, mbstring, iconv, mysqli, zip, gd
coverage: xdebug
tools: composer:v2
- name: Cache module
uses: actions/cache@v2
with:
@ -127,7 +125,6 @@ jobs:
php-version: ${{ matrix.php-version }}
extensions: recode, mbstring, iconv, mysqli, zip, gd
coverage: xdebug
tools: composer:v2
- name: Cache module
uses: actions/cache@v2
with:
@ -174,8 +171,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, iconv, mysqli, zip, gd
tools: composer:v2
extensions: mbstring, iconv, mysqli, zip, gd, bz2
- name: Cache module
uses: actions/cache@v2
with: