Skip to content

Commit 0151cc3

Browse files
committed
ci(Unit Tests): drop support for PHP 8.5 as it's too new at the moment.
1 parent c7a89ab commit 0151cc3

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@ jobs:
2424

2525
strategy:
2626
matrix:
27-
php: ["7.2", "7.4", "8.0", "8.2", "8.4", "8.5"]
27+
php: ["7.2", "7.4", "8.0", "8.2", "8.4"]
2828

2929
name: "Lint: PHP ${{ matrix.php }}"
3030

31-
continue-on-error: ${{ matrix.php == '8.5' }}
32-
3331
steps:
3432
- name: Checkout code
3533
uses: actions/checkout@v4
@@ -45,8 +43,6 @@ jobs:
4543
- name: Install Composer dependencies
4644
uses: "ramsey/composer-install@v3"
4745
with:
48-
# For the PHP "8.5", we need to install with ignore platform reqs as not all dependencies may allow it yet.
49-
composer-options: ${{ matrix.php == '8.5' && '--ignore-platform-req=php+' || '' }}
5046
# Bust the cache at least once a month - output format: YYYY-MM.
5147
custom-cache-suffix: $(date -u "+%Y-%m")
5248

@@ -66,14 +62,11 @@ jobs:
6662
# @link https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix
6763
#
6864
# The matrix is set up so as not to duplicate the builds which are run for code coverage.
69-
php: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.5"]
65+
php: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]
7066
phpcs_version: ["lowest", "stable", "4.x-dev"]
7167

7268
include:
7369
# Add some builds with variations of the dependency versions.
74-
# Note: the PHPCS low/stable + Utils stable combi is already run via the above matrix.
75-
# And the PHPCS low + Utils low combi is run in the code coverage builds.
76-
# So these are the only combis missing.
7770
- php: "8.4"
7871
phpcs_version: "stable"
7972

@@ -87,16 +80,8 @@ jobs:
8780
- php: "8.2"
8881
phpcs_version: "4.x-dev"
8982

90-
# Experimental builds. These are allowed to fail.
91-
- php: "8.5"
92-
phpcs_version: "dev-master"
93-
- php: "8.5"
94-
phpcs_version: "4.x-dev"
95-
9683
name: "Test: PHP ${{ matrix.php }} - PHPCS ${{ matrix.phpcs_version }}"
9784

98-
continue-on-error: ${{ matrix.php == '8.5' }}
99-
10085
steps:
10186
- name: Checkout code
10287
uses: actions/checkout@v4
@@ -136,8 +121,6 @@ jobs:
136121
- name: Install Composer dependencies
137122
uses: "ramsey/composer-install@v3"
138123
with:
139-
# For the PHP "8.5", we need to install with ignore platform reqs as not all dependencies may allow it yet.
140-
composer-options: ${{ matrix.php == '8.5' && '--ignore-platform-req=php+' || '' }}
141124
# Bust the cache at least once a month - output format: YYYY-MM.
142125
custom-cache-suffix: $(date -u "+%Y-%m")
143126

0 commit comments

Comments
 (0)