Repository navigation
ci: add GitHub Actions build and test matrix (PHP 8.1-8.5) - #8
Merged
Merged
Conversation
Builds the extension against librrd and runs the .phpt suite on PHP 8.1 through 8.5. The PHP 8.5 build break in php#7 shipped unnoticed because nothing exercised the build; this catches that class of regression. Signed-off-by: Thomas Vincent <[email protected]>
Collaborator
|
Thanks, merged. I'm not familiar with setup CI for github repos at all, maybe later :-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a GitHub Actions workflow that builds the extension against librrd and runs
the
.phptsuite on PHP 8.1 through 8.5.The repository had no CI, which is why the PHP 8.5 build break in #7 shipped
unnoticed until a user hit
pecl install— nothing exercised the build. Thiscatches that class of regression on every push and PR.
Validated locally in Docker across the full matrix (librrd 1.7.2): all five
versions build, and the test suite runs with 0 failures (6 run, the rest skip
where they need rrdcached or a live rrdtool binary).
permissions: contents: readfail-fast: falseso one version's break does not mask the others