Skip to content

Commit

Permalink
add composer update pact-foundation/pact-php on CI for php 8.0 config…
Browse files Browse the repository at this point in the history
…uration

Signed-off-by: nabim777 <[email protected]>
  • Loading branch information
nabim777 committed Oct 22, 2024
1 parent 7a9e3c4 commit 25756a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/shared_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
if [ "${{matrix.phpVersion}}" -eq 8 ]; then
# Composer updated to php 8.0 with pact 7.1 because pact 10.0.0-beta2 is incompatible with php 8.0.
sed -i 's/10.0.0-beta2/7.1/g' composer.json
composer update
composer update pact-foundation/pact-php
fi
composer install --no-progress --prefer-dist --optimize-autoloader
git clone --depth 1 https://github.com/nextcloud/server.git -b ${{ matrix.nextcloudVersion }}
Expand Down Expand Up @@ -330,7 +330,7 @@ jobs:
if [ "${{matrix.phpVersionMajor}}" -eq 8 ] && [ "${{matrix.phpVersionMinor}}" -eq 0 ]; then
# Composer updated to php 8.0 with pact 7.1 because pact 10.0.0-beta2 is incompatible with php 8.0.
sed -i 's/10.0.0-beta2/7.1/g' composer.json
composer update
composer update pact-foundation/pact-php
fi
composer install --no-progress --prefer-dist --optimize-autoloader
until curl -s -f http://nextcloud/status.php | grep '"installed":true'; do echo .; sleep 10; done
Expand Down

0 comments on commit 25756a4

Please sign in to comment.