Skip to content

Commit ae8efe2

Browse files
minor symfony#60718 Test AssetMapper with and without ext-brotli/ext-zstd in one job (nicolas-grekas)
This PR was merged into the 7.3 branch. Discussion ---------- Test AssetMapper with and without ext-brotli/ext-zstd in one job | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT Commits ------- dba505a Test AssetMapper with and without ext-brotli/ext-zstd in one job
2 parents bb8505b + dba505a commit ae8efe2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/unit-tests.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Unit Tests
2222

2323
env:
24-
extensions: amqp,apcu,igbinary,intl,mbstring,memcached,redis,relay
24+
extensions: amqp,apcu,brotli,igbinary,intl,mbstring,memcached,redis,relay,zstd
2525

2626
strategy:
2727
matrix:
@@ -33,9 +33,6 @@ jobs:
3333
mode: low-deps
3434
- php: '8.3'
3535
- php: '8.4'
36-
# brotli and zstd extensions are optional, when not present the commands will be used instead,
37-
# we must test both scenarios
38-
extensions: amqp,apcu,brotli,igbinary,intl,mbstring,memcached,redis,relay,zstd
3936
- php: '8.5'
4037
#mode: experimental
4138
fail-fast: false
@@ -233,6 +230,12 @@ jobs:
233230
run: |
234231
script -e -c './phpunit --group tty' /dev/null
235232
233+
- name: Run AssetMapper without ext-brotli nor ext-zstd
234+
if: "! matrix.mode"
235+
run: |
236+
sudo rm /etc/php/*/cli/conf.d/*-{brotli,zstd}.ini
237+
./phpunit src/Symfony/Component/AssetMapper
238+
236239
- name: Run tests with SIGCHLD enabled PHP
237240
if: "matrix.php == '8.2' && ! matrix.mode"
238241
run: |

0 commit comments

Comments
 (0)