From 9efe932221b6e43e742527ed48aace39cef87f4c Mon Sep 17 00:00:00 2001 From: Peter van der Wal Date: Mon, 27 May 2024 16:45:21 +0200 Subject: [PATCH] Install Roave BC Check in separate directory To avoid dependency conflicts with project dependencies, require BC Check tool in a separate directory --- .github/workflows/ci.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b3ab3ef..7e5cc62 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -84,7 +84,10 @@ jobs: run: sudo bash ./upload-textfiles "/var/log/elasticsearch/*.log" - name: Install roave/backward-compatibility-check. - run: composer require -W --dev roave/backward-compatibility-check --no-plugins + run: | + # Install BC check tool in separate directory to avoid dependency conflicts + mkdir -p test-tools/bc-check + composer require --working-dir="test-tools/bc-check" roave/backward-compatibility-check --no-plugins - name: Run roave/backward-compatibility-check. - run: vendor/bin/roave-backward-compatibility-check --format=github-actions + run: test-tools/bc-check/vendor/bin/roave-backward-compatibility-check --format=github-actions