From f7c1d5d3e0962528fe043f0f2dd122fa75bfc578 Mon Sep 17 00:00:00 2001 From: Nicolas Joubert Date: Wed, 14 Oct 2026 16:10:07 +0200 Subject: [PATCH] chore(ci) #41 Test the lowest dependencies Add a "PHP 8.2 + lowest" job to the test matrix: it installs the lowest versions allowed by composer.json (--prefer-lowest --prefer-stable) on the lowest supported PHP version, so wrong lower bounds are caught by the CI. The lowest set (cleverage/process-bundle 5.0, Symfony 6.4.0, psr/cache 2) passes the test suite: no lower bound needs to be fixed. Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/workflows/test.yml | 6 ++++++ CHANGELOG.md | 1 + 2 files changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b49e0ce..90a11b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,6 +29,12 @@ jobs: symfony-require: [''] variant: [normal] include: + # Lowest versions allowed by composer.json, on the lowest supported PHP version + - php-version: '8.2' + dependencies: lowest + allowed-to-fail: false + symfony-require: '' + variant: normal - php-version: '8.2' dependencies: highest allowed-to-fail: false diff --git a/CHANGELOG.md b/CHANGELOG.md index df926cc..f94bf95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ Latest ------ ### Changes +* [#41](https://github.com/cleverage/cache-process-bundle/issues/41) CI: test the lowest versions allowed by `composer.json` (`--prefer-lowest`, PHP 8.2). * [#39](https://github.com/cleverage/cache-process-bundle/issues/39) Add a `.gitattributes`: the development files (`.docker/`, `.github/`, `tests/`, quality tools and PHPUnit configurations, `Makefile`) are no longer part of the archive installed by Composer (`dist`). * [#37](https://github.com/cleverage/cache-process-bundle/issues/37) Require `psr/cache`, used directly by `Adapter` and `AbstractCacheTask` but only installed through `symfony/cache` and `cleverage/process-bundle`.