From 7b620f5c72e9952b14d3e7456c2d1718f0606787 Mon Sep 17 00:00:00 2001 From: Demin Yin Date: Thu, 28 Nov 2024 10:36:14 -0800 Subject: [PATCH] run tests under PHP 8.4 --- .github/workflows/build-swoole.yml | 2 +- .github/workflows/unit_tests.yml | 2 +- phpunit.xml.dist | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-swoole.yml b/.github/workflows/build-swoole.yml index 60d3b19..71eb5d6 100644 --- a/.github/workflows/build-swoole.yml +++ b/.github/workflows/build-swoole.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - php: ["8.1", "8.2", "8.3"] + php: ["8.1", "8.2", "8.3", "8.4"] name: PHP ${{ matrix.php }} - Swoole diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index bccaa57..fc8b714 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: true matrix: - php: ["8.1", "8.2", "8.3"] + php: ["8.1", "8.2", "8.3", "8.4"] swoole-prefix: ["5.1-", ""] name: Run Tests Using Image ${{ matrix.swoole-prefix }}php${{ matrix.php }} diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 485973f..20c4c5c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -7,6 +7,7 @@ xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"> tests/unit + tests/unit/Thread