Skip to content

Commit a57f2f3

Browse files
authored
chore: set PHP ini-values from extra-ini-options input (#9879)
1 parent c307c5f commit a57f2f3

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/reusable-phpunit-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ on:
4343
description: Additional PHP extensions that are needed to be enabled
4444
type: string
4545
required: false
46+
extra-ini-options:
47+
description: Additional PHP configuration directives that should be appended to the php.ini
48+
type: string
49+
required: false
4650
extra-composer-options:
4751
description: Additional Composer options that should be appended to the `composer update` call
4852
type: string
@@ -163,6 +167,7 @@ jobs:
163167
php-version: ${{ inputs.php-version }}
164168
tools: composer
165169
extensions: gd, ${{ inputs.extra-extensions }}
170+
ini-values: ${{ inputs.extra-ini-options }}
166171
coverage: ${{ env.COVERAGE_DRIVER }}
167172
env:
168173
COVERAGE_DRIVER: ${{ inputs.enable-coverage && 'xdebug' || 'none' }}

.github/workflows/reusable-serviceless-phpunit-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ on:
3737
description: Additional PHP extensions that are needed to be enabled
3838
type: string
3939
required: false
40+
extra-ini-options:
41+
description: Additional PHP configuration directives that should be appended to the php.ini
42+
type: string
43+
required: false
4044
extra-composer-options:
4145
description: Additional Composer options that should be appended to the `composer update` call
4246
type: string
@@ -75,6 +79,7 @@ jobs:
7579
php-version: ${{ inputs.php-version }}
7680
tools: composer
7781
extensions: gd, ${{ inputs.extra-extensions }}
82+
ini-values: ${{ inputs.extra-ini-options }}
7883
coverage: ${{ env.COVERAGE_DRIVER }}
7984
env:
8085
COVERAGE_DRIVER: ${{ inputs.enable-coverage && 'xdebug' || 'none' }}

0 commit comments

Comments
 (0)