Skip to content

Commit

Permalink
Use DLOAD util via CPX because it fails in lower deps with PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Dec 9, 2024
1 parent d77ad58 commit 39e7573
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/run-test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ jobs:
- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Download CPX
run: composer global require cpx/cpx

- name: Get Composer Cache Directory
id: composer-cache
run: |
Expand All @@ -94,7 +97,7 @@ jobs:
if: matrix.dependencies == 'lowest' && matrix.php != '8.4'
run: composer update --no-interaction --no-progress --prefer-lowest

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

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

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

- name: Download binaries
if: inputs.download-binaries == true
run: composer get:binaries
run: cpx internal/dload get --no-interaction -vv

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

0 comments on commit 39e7573

Please sign in to comment.