diff --git a/.github/workflows/tests-functional.yml b/.github/workflows/tests-functional.yml index 760c746..8b69318 100644 --- a/.github/workflows/tests-functional.yml +++ b/.github/workflows/tests-functional.yml @@ -5,7 +5,7 @@ on: pull_request: env: - COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-source" + COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" DATABASE_HOST: localhost DATABASE_USER: b24phpLibTest DATABASE_PASSWORD: b24phpLibTest @@ -58,6 +58,11 @@ jobs: run: | composer update ${{ env.COMPOSER_FLAGS }} + - name: "Install b24-php-sdk from source" + run: | + composer remove bitrix24/b24phpsdk --no-update + composer require bitrix24/b24phpsdk --prefer-source --no-cache --ansi --no-interaction --no-progress + - name: "Wait for PostgreSQL to be ready" run: | until pg_isready -h localhost -p 5432 -U user; do