Skip to content

Commit 1acbd1f

Browse files
authored
Add PHP 8.4 tests (#263)
1 parent ec9e0dd commit 1acbd1f

File tree

4 files changed

+47
-2
lines changed

4 files changed

+47
-2
lines changed

.docker/php/php84/Dockerfile

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# ----------------------
2+
# The FPM base container
3+
# ----------------------
4+
FROM php:8.4-cli-alpine AS dev
5+
6+
RUN apk add --no-cache --virtual .build-deps \
7+
$PHPIZE_DEPS
8+
9+
# Cleanup apk cache and temp files
10+
RUN rm -rf /var/cache/apk/* /tmp/*
11+
12+
# ----------------------
13+
# Composer install step
14+
# ----------------------
15+
16+
# Get latest Composer
17+
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
18+
19+
# ----------------------
20+
# The FPM production container
21+
# ----------------------
22+
FROM dev

.github/workflows/tests.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ jobs:
1212
fail-fast: true
1313
matrix:
1414
os: [ubuntu-latest]
15-
php: [8.0, 8.1, 8.2, 8.3]
15+
php: [8.0, 8.1, 8.2, 8.3, 8.4]
1616
laravel: ['9.*', '10.*', '11.*', '12.*']
1717
dependency-version: [prefer-lowest, prefer-stable]
1818
exclude:
1919
- laravel: 9.*
2020
php: 8.2
2121
- laravel: 9.*
2222
php: 8.3
23+
- laravel: 9.*
24+
php: 8.4
2325
- laravel: 10.*
2426
php: 8.0
2527
- laravel: 11.*

CHANGELOG.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to `laravel-love` will be documented in this file.
44

55
## [Unreleased]
66

7+
## [10.1.0] - 2025-02-22
8+
9+
### Added
10+
11+
- ([#262]) Added Laravel 12 support
12+
- ([#263]) Added PHP 8.4 tests
13+
714
## [10.0.0] - 2024-03-09
815

916
### Added
@@ -547,7 +554,8 @@ Follow [upgrade instructions](UPGRADING.md#from-v5-to-v6) to migrate database to
547554

548555
- Initial release
549556

550-
[Unreleased]: https://github.com/cybercog/laravel-love/compare/10.0.0...master
557+
[Unreleased]: https://github.com/cybercog/laravel-love/compare/10.1.0...master
558+
[10.1.0]: https://github.com/cybercog/laravel-love/compare/10.0.0...10.1.0
551559
[10.0.0]: https://github.com/cybercog/laravel-love/compare/9.0.0...10.0.0
552560
[9.0.0]: https://github.com/cybercog/laravel-love/compare/8.9.0...9.0.0
553561
[8.9.0]: https://github.com/cybercog/laravel-love/compare/8.8.1...8.9.0
@@ -598,6 +606,8 @@ Follow [upgrade instructions](UPGRADING.md#from-v5-to-v6) to migrate database to
598606
[1.1.1]: https://github.com/cybercog/laravel-love/compare/1.1.0...1.1.1
599607
[1.1.0]: https://github.com/cybercog/laravel-love/compare/1.0.0...1.1.0
600608

609+
[#263]: https://github.com/cybercog/laravel-love/pull/263
610+
[#262]: https://github.com/cybercog/laravel-love/pull/262
601611
[#258]: https://github.com/cybercog/laravel-love/pull/258
602612
[#252]: https://github.com/cybercog/laravel-love/pull/252
603613
[#251]: https://github.com/cybercog/laravel-love/pull/251

docker-compose.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,14 @@ services:
3232
working_dir: /app
3333
volumes:
3434
- ./:/app
35+
36+
php84:
37+
container_name: laravel-love-lib-84
38+
image: laravel-love-lib-84
39+
build:
40+
context: ./
41+
dockerfile: ./.docker/php/php84/Dockerfile
42+
tty: true
43+
working_dir: /app
44+
volumes:
45+
- ./:/app

0 commit comments

Comments
 (0)