Skip to content

Commit c8b67ba

Browse files
authored
chore(ci): add PHP 8.2 do CI build (#136)
1 parent 029863b commit c8b67ba

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.circleci/config.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ commands:
3737
parameters:
3838
php-image:
3939
type: string
40+
xdebug-package:
41+
type: string
4042
steps:
4143
- restore_cache:
4244
name: Restoring Composer Cache
@@ -51,7 +53,7 @@ commands:
5153
- run:
5254
name: Install xdebug
5355
command: |
54-
sudo pecl install xdebug-3.1.6
56+
sudo pecl install << parameters.xdebug-package >>
5557
- run:
5658
name: Run tests
5759
command: |
@@ -88,6 +90,9 @@ jobs:
8890
influxdb-image:
8991
type: string
9092
default: &default-influxdb-image "influxdb:latest"
93+
xdebug-package:
94+
type: string
95+
default: "xdebug-3.1.6"
9196
docker:
9297
- image: << parameters.php-image >>
9398
- image: &influx-image << parameters.influxdb-image >>
@@ -97,6 +102,7 @@ jobs:
97102
- prepare
98103
- test:
99104
php-image: << parameters.php-image >>
105+
xdebug-package: << parameters.xdebug-package >>
100106
- storing-test-results
101107
tests-cURL:
102108
docker:
@@ -169,6 +175,10 @@ workflows:
169175
- tests-php:
170176
name: php-8.1
171177
php-image: "cimg/php:8.1"
178+
- tests-php:
179+
name: php-8.2
180+
php-image: "cimg/php:8.2"
181+
xdebug-package: "xdebug"
172182
- tests-php:
173183
name: php-7.4-nightly
174184
influxdb-image: "quay.io/influxdb/influxdb:nightly"

0 commit comments

Comments
 (0)