Skip to content

Commit 433ba19

Browse files
committed
require all exts for test and faster smoke testing
1 parent b546719 commit 433ba19

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/test-unit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828

2929
- name: Configure PHP
3030
run: |
31-
install-php-extensions memcached sysvsem
3231
rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
3332
php --version
3433
@@ -37,6 +36,7 @@ jobs:
3736
if [ "${{ matrix.type }}" != "Phpunit" ] && [ "${{ matrix.type }}" != "StaticAnalysis" ]; then composer remove --no-interaction --no-update phpunit/phpunit ergebnis/phpunit-slow-test-detector --dev; fi
3837
if [ "${{ matrix.type }}" != "CodingStyle" ]; then composer remove --no-interaction --no-update friendsofphp/php-cs-fixer ergebnis/composer-normalize --dev; fi
3938
if [ "${{ matrix.type }}" != "StaticAnalysis" ]; then composer remove --no-interaction --no-update phpstan/\* --dev; fi
39+
composer remove --no-interaction --no-update ext-lzf ext-memcached ext-sysvsem --dev
4040
composer update --ansi --prefer-dist --no-interaction --no-progress --optimize-autoloader
4141
4242
- name: "Run tests (only for Phpunit)"

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,14 @@
3838
"symfony/polyfill-php80": "^1.28"
3939
},
4040
"require-dev": {
41+
"ext-igbinary": "*",
42+
"ext-lzf": "*",
4143
"ext-memcached": "*",
4244
"ext-pcntl": "*",
4345
"ext-pdo": "*",
4446
"ext-pdo_mysql": "*",
4547
"ext-pdo_sqlite": "*",
48+
"ext-redis": "*",
4649
"ext-sysvsem": "*",
4750
"eloquent/liberator": "^2.0 || ^3.0",
4851
"ergebnis/composer-normalize": "^2.13",
@@ -61,7 +64,7 @@
6164
"suggest": {
6265
"ext-igbinary": "To use this library with PHP Redis igbinary serializer enabled.",
6366
"ext-lzf": "To use this library with PHP Redis lzf compression enabled.",
64-
"ext-pnctl": "Enables locking with flock without busy waiting in CLI scripts.",
67+
"ext-pcntl": "Enables locking with flock without busy waiting in CLI scripts.",
6568
"ext-redis": "To use this library with the PHP Redis extension.",
6669
"ext-sysvsem": "Enables locking using semaphores.",
6770
"predis/predis": "To use this library with predis."

0 commit comments

Comments
 (0)