Skip to content

Commit 3a7a3b5

Browse files
committed
Build with upcoming PHP version
1 parent d418dd8 commit 3a7a3b5

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,33 @@ jobs:
3232
- name: Run tests
3333
run: composer test
3434

35+
early-support-upcoming-php-version:
36+
name: Build with upcoming PHP version
37+
runs-on: ubuntu-latest
38+
39+
steps:
40+
- name: Set up PHP
41+
uses: shivammathur/setup-php@v2
42+
with:
43+
php-version: '8.5'
44+
extensions: bcmath, gmp, intl, dom, mbstring
45+
46+
- name: Setup Problem Matchers for PHPUnit
47+
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
48+
49+
- name: Checkout code
50+
uses: actions/checkout@v4
51+
52+
- name: Set up locales
53+
run: ./hack/setup-locales.sh
54+
55+
- uses: "ramsey/composer-install@v3"
56+
with:
57+
composer-options: "--ignore-platform-req=php+"
58+
59+
- name: Run tests
60+
run: composer test
61+
3562
tests:
3663
name: Build
3764
runs-on: ubuntu-latest
@@ -43,7 +70,6 @@ jobs:
4370
- '8.2'
4471
- '8.3'
4572
- '8.4'
46-
- '8.5'
4773

4874
steps:
4975
- name: Set up PHP

0 commit comments

Comments
 (0)