From ef6904ee2a9e5ad3f78974f9d96367936167a982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Mon, 20 Dec 2021 14:16:38 +0100 Subject: [PATCH] Test with PHP 8.1 --- .github/workflows/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6cf4a22..f9794e5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - php-versions: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0'] + php-versions: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1'] steps: - name: Checkout uses: actions/checkout@v2 @@ -26,13 +26,13 @@ jobs: make - name: Test the extension (PHP 7) - if: matrix.php-versions != '8.0' + if: matrix.php-versions != '8.0' and matrix.php-versions == '8.1' run: | cd extension/ REPORT_EXIT_STATUS=1 NO_INTERACTION=1 TEST_PHP_EXECUTABLE=$(which php) $(which php) run-tests.php -d extension=$PWD/modules/meminfo.so - name: Test the extension (PHP 8) - if: matrix.php-versions == '8.0' + if: matrix.php-versions == '8.0' or matrix.php-versions == '8.1' run: | cd extension/ REPORT_EXIT_STATUS=1 NO_INTERACTION=1 make test