From b6bb5193a83d08d7e4ae4fb0fcff87e0baa54c2d Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Sat, 29 Jun 2024 01:10:35 +0900 Subject: [PATCH] Update PHP version matrix in GitHub workflow The PHP version matrix for GitHub Actions was modified to include PHP 8.2. Now our test suite will also validate the compatibility with this PHP version, ensuring our code runs as expected on an expanded range of PHP environments. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7bc31b..ba47e82 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - php-version: ['8.0', '8.1'] + php-version: ['8.0', '8.1', '8.2', '8.3'] steps: - name: Checkout code @@ -38,4 +38,4 @@ jobs: - name: Run demo run: | php -d extension=./modules/rayaop.so -i | grep rayaop - php -d extension=./modules/rayaop.so rayaop.php \ No newline at end of file + timeout 60s php -d extension=./modules/rayaop.so -d memory_limit=128M -d report_memleaks=1 -d zend.assertions=1 -d assert.exception=1 rayaop.php 2> php_stderr.log || true