From 27d60bc6f03c00dee07b651a39853208b900ecf0 Mon Sep 17 00:00:00 2001 From: Masaki Kawaguchi Date: Tue, 26 Nov 2024 01:50:13 +0900 Subject: [PATCH] fix matrix build --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 79807f66..afce1eaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,7 @@ jobs: build-test: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: php-versions: - 5.4 @@ -14,10 +15,12 @@ jobs: - 7.2 - 7.3 - 7.4 + - 8.0 + - 8.1 - 8.2 - 8.3 - 8.4 - - nightly + steps: - uses: actions/checkout@v3 @@ -25,15 +28,16 @@ jobs: - uses: php-actions/composer@v6 - name: PHPUnit Tests - uses: php-actions/phpunit@master + uses: php-actions/phpunit@v4 env: XDEBUG_MODE: coverage with: - php_extensions: "xdebug" + php_extensions: xdebug coverage_html: "coverage/html/" version: 9.5 bootstrap: tests/bootstrap.php configuration: phpunit.xml + php_version: ${{ matrix.php-versions }} - name: Archive code coverage results uses: actions/upload-artifact@v3