Skip to content

chore: prepare CI for PHP version matrix testing#816

Open
anonymoususer72041 wants to merge 2 commits into
opencats:masterfrom
anonymoususer72041:chore/add-php-version-matrix
Open

chore: prepare CI for PHP version matrix testing#816
anonymoususer72041 wants to merge 2 commits into
opencats:masterfrom
anonymoususer72041:chore/add-php-version-matrix

Conversation

@anonymoususer72041

Copy link
Copy Markdown
Contributor

This prepares the CI and Docker-based test setup for PHP version matrix testing, serving as preparation for #792 without changing the currently tested or supported PHP version.

The Docker PHP image now accepts a PHP_VERSION build argument while keeping 7.4 as the default. The test Docker Compose configuration passes this argument through with the same default, so existing local and CI behavior remains unchanged unless a PHP version is explicitly provided.

The GitHub Actions workflow now passes the matrix PHP version into the Docker test environment and rebuilds the container for that version. Composer cache keys also include the matrix PHP version, so future matrix entries can use separate dependency caches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant