Skip to content

Commit 3c5875f

Browse files
Add roave-backward-compatibility-check to CI pipeline
1 parent 51ed853 commit 3c5875f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,30 @@ jobs:
3737
- name: "Run vimeo/psalm"
3838
run: "php7.3 ./tools/psalm --config=.psalm/config.xml --no-progress --shepherd --show-info=false --stats"
3939

40+
backward-compatibility:
41+
name: Backward Compatibility
42+
43+
runs-on: ubuntu-latest
44+
45+
steps:
46+
- name: Checkout
47+
uses: actions/checkout@v2
48+
with:
49+
fetch-depth: 0
50+
51+
- name: Fetch tags
52+
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
53+
54+
- name: Install PHP with extensions
55+
uses: shivammathur/setup-php@v2
56+
with:
57+
php-version: 7.4
58+
coverage: none
59+
extensions: intl
60+
61+
- name: Run roave/backward-compatibility-check
62+
run: ./tools/roave-backward-compatibility-check --from=4.0.0
63+
4064
tests:
4165
name: "Tests"
4266

0 commit comments

Comments
 (0)