Skip to content

Commit df2164a

Browse files
authored
[#123] Added CI jobs for PHP 8.3 and retired CI jobs for PHP 8.1. (#130)
1 parent b0d64d1 commit df2164a

File tree

5 files changed

+30
-34
lines changed

5 files changed

+30
-34
lines changed

.circleci/config.yml

+17-20
Original file line numberDiff line numberDiff line change
@@ -76,40 +76,39 @@ job-test: &job-test
7676
path: /tmp/artifacts
7777

7878
jobs:
79-
test-php-8.1:
80-
<<: *container_config
81-
docker:
82-
- image: cimg/php:8.1-browsers
83-
<<: *job-test
84-
8579
test-php-8.2:
8680
<<: *container_config
8781
docker:
8882
- image: cimg/php:8.2-browsers
8983
<<: *job-test
9084

91-
test-php-8.1-legacy:
85+
test-php-8.2-legacy:
9286
<<: *container_config
9387
docker:
94-
- image: cimg/php:8.1-browsers
88+
- image: cimg/php:8.2-browsers
9589
environment:
9690
DRUPAL_VERSION: 9.5
9791
DRUPAL_PROJECT_SHA: 9.x
9892
<<: *job-test
9993

100-
test-php-8.2-legacy:
94+
test-php-8.2-next:
10195
<<: *container_config
10296
docker:
10397
- image: cimg/php:8.2-browsers
10498
environment:
105-
DRUPAL_VERSION: 9.5
106-
DRUPAL_PROJECT_SHA: 9.x
99+
DRUPAL_VERSION: 10@beta
107100
<<: *job-test
108101

109-
test-php-8.2-next:
102+
test-php-8.3:
110103
<<: *container_config
111104
docker:
112-
- image: cimg/php:8.2-browsers
105+
- image: cimg/php:8.3-browsers
106+
<<: *job-test
107+
108+
test-php-8.3-next:
109+
<<: *container_config
110+
docker:
111+
- image: cimg/php:8.3-browsers
113112
environment:
114113
DRUPAL_VERSION: 10@beta
115114
<<: *job-test
@@ -134,31 +133,29 @@ workflows:
134133
version: 2
135134
commit:
136135
jobs:
137-
- test-php-8.1:
136+
- test-php-8.2:
138137
filters:
139138
tags:
140139
only: /.*/
141-
- test-php-8.2:
140+
- test-php-8.2-legacy:
142141
filters:
143142
tags:
144143
only: /.*/
145-
- test-php-8.1-legacy:
144+
- test-php-8.2-next:
146145
filters:
147146
tags:
148147
only: /.*/
149-
- test-php-8.2-legacy:
148+
- test-php-8.3:
150149
filters:
151150
tags:
152151
only: /.*/
153-
- test-php-8.2-next:
152+
- test-php-8.3-next:
154153
filters:
155154
tags:
156155
only: /.*/
157156
- deploy:
158157
requires:
159-
- test-php-8.1
160158
- test-php-8.2
161-
- test-php-8.1-legacy
162159
- test-php-8.2-legacy
163160
- test-php-8.2-next
164161
filters:

.github/workflows/test.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,11 @@ jobs:
1515
strategy:
1616
matrix:
1717
include:
18-
- name: test-php-8.1
19-
php-version: 8.1
20-
drupal-version: stable
21-
2218
- name: test-php-8.2
2319
php-version: 8.2
2420
drupal-version: stable
2521
drupal-version-alias: stable
2622

27-
- name: test-php-8.1-legacy
28-
php-version: 8.1
29-
drupal-version: 9.5
30-
drupal-project-sha: 9.x
31-
drupal-version-alias: legacy
32-
3323
- name: test-php-8.2-legacy
3424
php-version: 8.2
3525
drupal-version: 9.5
@@ -41,6 +31,16 @@ jobs:
4131
drupal-version: 10@beta
4232
drupal-version-alias: next
4333

34+
- name: test-php-8.3
35+
php-version: 8.3
36+
drupal-version: stable
37+
drupal-version-alias: stable
38+
39+
- name: test-php-8.3-next
40+
php-version: 8.3
41+
drupal-version: 10@beta
42+
drupal-version-alias: next
43+
4444
name: ${{ matrix.name }}
4545

4646
env:

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ to [drupal.org](https://drupal.org).
3232
## Features
3333

3434
- Turnkey CI configuration with artifacts and test results support.
35-
- PHP version matrix for [8.2](https://www.php.net/supported-versions.php)
36-
and [8.1](https://www.php.net/supported-versions.php).
35+
- PHP version matrix for [8.2](https://www.php.net/supported-versions.php).
3736
- Drupal version matrix: `stable`, `next` and `last EOL` version.
3837
- CI providers:
3938
- [GitHub Actions](.github/workflows/test.yml)

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"source": "https://git.drupalcode.org/project/your_extension"
1818
},
1919
"require": {
20-
"php": ">=8.1"
20+
"php": ">=8.2"
2121
},
2222
"require-dev": {
2323
"drupal/pathauto": "~1.0"

phpcs.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<arg value="sp"/>
1717
<arg name="parallel" value="75"/>
1818
<!-- Lint code against platform version specified in composer.json key "config.platform.php". -->
19-
<config name="testVersion" value="8.1"/>
19+
<config name="testVersion" value="8.2"/>
2020

2121
<!-- Exclude CircleCI config files. -->
2222
<exclude-pattern>circle\.yml</exclude-pattern>

0 commit comments

Comments
 (0)