Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4895f54

Browse filesBrowse files
committed
test with optional deps
1 parent 6a9571a commit 4895f54
Copy full SHA for 4895f54

File tree

1 file changed

+9
-0
lines changed
Filter options

1 file changed

+9
-0
lines changed

‎.github/workflows/unit-tests.yml

Copy file name to clipboardExpand all lines: .github/workflows/unit-tests.yml
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ 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: ${{ env.extensions }},brotli,zstd
3639
#mode: experimental
3740
fail-fast: false
3841

@@ -53,6 +56,12 @@ jobs:
5356
extensions: "${{ matrix.extensions || env.extensions }}"
5457
tools: flex
5558

59+
- name: Install optional commands
60+
if: matrix.php == '8.4'
61+
run: |
62+
sudo apt-get update
63+
sudo apt-get install zopfli
64+
5665
- name: Configure environment
5766
run: |
5867
git config --global user.email ""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.