Skip to content

Commit 39e7573

Browse files
committed
Use DLOAD util via CPX because it fails in lower deps with PHP 8.4
1 parent d77ad58 commit 39e7573

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/run-test-suite.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ jobs:
7777
- name: Validate composer.json and composer.lock
7878
run: composer validate --strict
7979

80+
- name: Download CPX
81+
run: composer global require cpx/cpx
82+
8083
- name: Get Composer Cache Directory
8184
id: composer-cache
8285
run: |
@@ -94,7 +97,7 @@ jobs:
9497
if: matrix.dependencies == 'lowest' && matrix.php != '8.4'
9598
run: composer update --no-interaction --no-progress --prefer-lowest
9699

97-
- name: Install lowest dependencies from composer.json
100+
- name: Install lowest dependencies from composer.json ignoring ext-php constraint
98101
if: matrix.dependencies == 'lowest' && matrix.php == '8.4'
99102
run: composer update --no-interaction --no-progress --prefer-lowest --ignore-platform-req php
100103

@@ -110,13 +113,13 @@ jobs:
110113
if: matrix.dependencies == 'highest' && matrix.php != '8.4'
111114
run: composer update --no-interaction --no-progress
112115

113-
- name: Install highest dependencies from composer.json
116+
- name: Install highest dependencies from composer.json ignoring ext-php constraint
114117
if: matrix.dependencies == 'highest' && matrix.php == '8.4'
115118
run: composer update --no-interaction --no-progress --ignore-platform-req php
116119

117120
- name: Download binaries
118121
if: inputs.download-binaries == true
119-
run: composer get:binaries
122+
run: cpx internal/dload get --no-interaction -vv
120123

121124
- name: Run tests
122125
run: ${{ inputs.test-command }}

0 commit comments

Comments
 (0)