Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Test AssetMapper with and without ext-brotli/ext-zstd in one job #60718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: Unit Tests

env:
extensions: amqp,apcu,igbinary,intl,mbstring,memcached,redis,relay
extensions: amqp,apcu,brotli,igbinary,intl,mbstring,memcached,redis,relay,zstd

strategy:
matrix:
Expand All @@ -33,9 +33,6 @@ jobs:
mode: low-deps
- php: '8.3'
- php: '8.4'
# brotli and zstd extensions are optional, when not present the commands will be used instead,
# we must test both scenarios
extensions: amqp,apcu,brotli,igbinary,intl,mbstring,memcached,redis,relay,zstd
- php: '8.5'
#mode: experimental
fail-fast: false
Expand Down Expand Up @@ -233,6 +230,12 @@ jobs:
run: |
script -e -c './phpunit --group tty' /dev/null

- name: Run AssetMapper without ext-brotli nor ext-zstd
if: "! matrix.mode"
run: |
sudo rm /etc/php/*/cli/conf.d/*-{brotli,zstd}.ini
./phpunit src/Symfony/Component/AssetMapper

- name: Run tests with SIGCHLD enabled PHP
if: "matrix.php == '8.2' && ! matrix.mode"
run: |
Expand Down
Loading