Skip to content

Commit 03f4a2d

Browse files
ci: Add tests for PHP 8.5 (#189)
* ci: Add tests for PHP 8.5 symfony 7.3 * container * changelog --------- Co-authored-by: Johan Wilfer <[email protected]> Co-authored-by: Johan Wilfer <[email protected]>
1 parent 7b03b5c commit 03f4a2d

File tree

5 files changed

+26
-0
lines changed

5 files changed

+26
-0
lines changed

.github/workflows/code_checks.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ jobs:
5454
mongodb-version: '7.0'
5555
symfony-version: 7.0.*
5656
stability: prefer-stable
57+
- php: '8.5'
58+
mongodb-version: '7.0'
59+
symfony-version: 7.3.*
60+
stability: prefer-stable
5761

5862
name: PHP ${{ matrix.php }} - ${{ matrix.symfony-version }} - ${{ matrix.stability }}
5963
steps:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ docker exec -it tbbc-moneybundle-php81 bash
117117
docker exec -it tbbc-moneybundle-php82 bash
118118
docker exec -it tbbc-moneybundle-php83 bash
119119
docker exec -it tbbc-moneybundle-php84 bash
120+
docker exec -it tbbc-moneybundle-php85 bash
120121
```
121122

122123
All the tooling is added as composer scripts, start by installing deps:

change-log-6.0-and-versions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Versions from 6.0
88
- Add PHP ECS for style fix/check and Rector for automatic upgrades
99
- Replaced Psalm with PHPStan
1010
- Rector and ECS automatically runs in CI
11+
- Add support for PHP 8.5 in CI and docker
1112

1213
### 2024-06-19 : updates for 6.0.0 version
1314

compose.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,13 @@ services:
3838
stdin_open: true
3939
volumes:
4040
- .:/docker:rw,delegated
41+
42+
tbbc-moneybundle-php85:
43+
container_name: tbbc-moneybundle-php85
44+
build:
45+
context: .
46+
dockerfile: ./docker/dockerfile-tbbc-moneybundle-php85
47+
tty: true
48+
stdin_open: true
49+
volumes:
50+
- .:/docker:rw,delegated
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM php:8.5.0RC3
2+
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
3+
4+
RUN apt-get update && apt-get install -y git curl nano zip libicu-dev
5+
RUN docker-php-ext-install intl bcmath
6+
RUN pecl install mongodb
7+
RUN docker-php-ext-enable mongodb
8+
WORKDIR /docker
9+
10+
CMD ["bash"]

0 commit comments

Comments
 (0)