Skip to content

Commit

Permalink
minor #982 Improved bc check (acrobat)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.x branch.

Discussion
----------

Only run the BC check on PR's and use the PR base branch as target branch to check the BC breaks against, this won't make the BC check fail false-positive on 2.x pr's

Commits
-------

e182f74 Improved bc check
  • Loading branch information
acrobat committed Mar 27, 2021
2 parents a3fd346 + e182f74 commit 7d9a5b7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/backwards-compatibility.yml
@@ -0,0 +1,18 @@
name: "BC check"

on:
pull_request:

jobs:
roave_bc_check:
name: "Roave BC check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Roave BC Check
uses: docker://nyholm/roave-bc-check-ga
with:
args: --from=${{ github.event.pull_request.base.sha }}
9 changes: 0 additions & 9 deletions .github/workflows/ci.yml
Expand Up @@ -28,15 +28,6 @@ jobs:
- name: Run phpunit
run: vendor/bin/phpunit --verbose

roave_bc_check:
name: Roave BC Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Roave BC Check
uses: docker://nyholm/roave-bc-check-ga

phpstan:
name: PHPStan
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7d9a5b7

Please sign in to comment.