Skip to content

Commit

Permalink
Install Roave BC Check in separate directory
Browse files Browse the repository at this point in the history
To avoid dependency conflicts with project dependencies, require BC Check tool in a separate directory
  • Loading branch information
youwe-petervanderwal authored and mmenozzi committed Oct 29, 2024
1 parent 67e5e0a commit 9efe932
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9efe932

Please sign in to comment.