Skip to content

Commit 6400c1e

Browse files
Add roave-backward-compatibility-check to CI pipeline
1 parent d1d9e66 commit 6400c1e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

+24
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,30 @@ jobs:
4646
- name: Run vimeo/psalm
4747
run: ./tools/psalm --no-progress --shepherd --show-info=false --stats
4848

49+
backward-compatibility:
50+
name: Backward Compatibility
51+
52+
runs-on: ubuntu-latest
53+
54+
steps:
55+
- name: Checkout
56+
uses: actions/checkout@v2
57+
with:
58+
fetch-depth: 0
59+
60+
- name: Fetch tags
61+
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
62+
63+
- name: Install PHP with extensions
64+
uses: shivammathur/setup-php@v2
65+
with:
66+
php-version: 7.4
67+
coverage: none
68+
extensions: intl
69+
70+
- name: Run roave/backward-compatibility-check
71+
run: ./tools/roave-backward-compatibility-check --from=3.0.0
72+
4973
tests:
5074
name: Tests
5175

0 commit comments

Comments
 (0)