Skip to content

Commit 9058401

Browse files
committed
Attempt at fixing pcntl in tests
Signed-off-by: Côme Chilliet <[email protected]>
1 parent db080c2 commit 9058401

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/phpunit-mysql.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,17 @@ jobs:
4747
with:
4848
php-version: ${{ matrix.php-versions }}
4949
tools: phpunit
50-
extensions: mbstring, iconv, fileinfo, intl, mysql, pdo_mysql, pcntl
50+
extensions: mbstring, iconv, fileinfo, intl, mysql, pdo_mysql, pcntl-php/php-src@PHP-${{ matrix.php-versions }}
5151
coverage: none
5252
update: true
5353
ini-file: development
54+
env:
55+
PCNTL_PATH: ext/pcntl
56+
PCNTL_CONFIGURE_OPTS: '--enable-pcntl'
57+
58+
- name: Activate pcntl extension
59+
run: |
60+
echo 'extension=pcntl.so' | sudo tee -a /etc/php/${{ matrix.php-versions }}/fpm/conf.d/10-pcntl.ini
5461
5562
- name: composer i
5663
run: |

0 commit comments

Comments
 (0)