Skip to content

Commit

Permalink
Add PHP 8.4 tests (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev authored Feb 22, 2025
1 parent ec9e0dd commit 1acbd1f
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .docker/php/php84/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# ----------------------
# The FPM base container
# ----------------------
FROM php:8.4-cli-alpine AS dev

RUN apk add --no-cache --virtual .build-deps \
$PHPIZE_DEPS

# Cleanup apk cache and temp files
RUN rm -rf /var/cache/apk/* /tmp/*

# ----------------------
# Composer install step
# ----------------------

# Get latest Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer

# ----------------------
# The FPM production container
# ----------------------
FROM dev
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.0, 8.1, 8.2, 8.3]
php: [8.0, 8.1, 8.2, 8.3, 8.4]
laravel: ['9.*', '10.*', '11.*', '12.*']
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- laravel: 9.*
php: 8.2
- laravel: 9.*
php: 8.3
- laravel: 9.*
php: 8.4
- laravel: 10.*
php: 8.0
- laravel: 11.*
Expand Down
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to `laravel-love` will be documented in this file.

## [Unreleased]

## [10.1.0] - 2025-02-22

### Added

- ([#262]) Added Laravel 12 support
- ([#263]) Added PHP 8.4 tests

## [10.0.0] - 2024-03-09

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

- Initial release

[Unreleased]: https://github.com/cybercog/laravel-love/compare/10.0.0...master
[Unreleased]: https://github.com/cybercog/laravel-love/compare/10.1.0...master
[10.1.0]: https://github.com/cybercog/laravel-love/compare/10.0.0...10.1.0
[10.0.0]: https://github.com/cybercog/laravel-love/compare/9.0.0...10.0.0
[9.0.0]: https://github.com/cybercog/laravel-love/compare/8.9.0...9.0.0
[8.9.0]: https://github.com/cybercog/laravel-love/compare/8.8.1...8.9.0
Expand Down Expand Up @@ -598,6 +606,8 @@ Follow [upgrade instructions](UPGRADING.md#from-v5-to-v6) to migrate database to
[1.1.1]: https://github.com/cybercog/laravel-love/compare/1.1.0...1.1.1
[1.1.0]: https://github.com/cybercog/laravel-love/compare/1.0.0...1.1.0

[#263]: https://github.com/cybercog/laravel-love/pull/263
[#262]: https://github.com/cybercog/laravel-love/pull/262
[#258]: https://github.com/cybercog/laravel-love/pull/258
[#252]: https://github.com/cybercog/laravel-love/pull/252
[#251]: https://github.com/cybercog/laravel-love/pull/251
Expand Down
11 changes: 11 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,14 @@ services:
working_dir: /app
volumes:
- ./:/app

php84:
container_name: laravel-love-lib-84
image: laravel-love-lib-84
build:
context: ./
dockerfile: ./.docker/php/php84/Dockerfile
tty: true
working_dir: /app
volumes:
- ./:/app

0 comments on commit 1acbd1f

Please sign in to comment.