diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 4a8b5d5f..d8de4b04 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -137,7 +137,7 @@ jobs: - name: "Composer update with new requirements" run: "composer update --no-interaction --prefer-dist --prefer-stable" - name: "Check for BC breaks" - run: ".github/workflows/roave-backwards-compatibility-check.sh" + run: ".github/workflows/roave-backwards-compatibility-check.sh --install-development-dependencies --from=origin/${{ github.base_ref }}" ############################################################################### ################################### SYMFONY ################################### diff --git a/.github/workflows/roave-backwards-compatibility-check.sh b/.github/workflows/roave-backwards-compatibility-check.sh index a5389aa8..c6e2fe9e 100755 --- a/.github/workflows/roave-backwards-compatibility-check.sh +++ b/.github/workflows/roave-backwards-compatibility-check.sh @@ -10,7 +10,7 @@ cd "$(dirname "$0")/../.." || exit 2 echo "Running BC check, please wait..." # Capture output to variable AND print it -OUTPUT=$(vendor/bin/roave-backward-compatibility-check --format=markdown --install-development-dependencies 2>&1) +OUTPUT=$(vendor/bin/roave-backward-compatibility-check --format=markdown "$@" 2>&1) # Remove rows we want to suppress OUTPUT=`echo "$OUTPUT" | sed '/Roave\\\BetterReflection\\\Reflection\\\ReflectionClass "Symfony\\\Component\\\HttpKernel\\\Event\\\FilterControllerEvent" could not be found in the located source/'d`