From fcd9e31af9a6ba7a91a811f5347b7cda40e18da2 Mon Sep 17 00:00:00 2001 From: Belle Aerni Date: Sat, 14 Jan 2023 15:50:05 -0800 Subject: [PATCH] Run unit tests on PHP 8.0, 8.1, and 8.2 --- .github/workflows/unittests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 6b13e55..8146ca6 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -9,6 +9,9 @@ on: jobs: build-test: runs-on: ubuntu-latest + strategy: + matrix: + php_version: [8.0, 8.1, 8.2] steps: - uses: actions/checkout@v3 @@ -18,5 +21,5 @@ jobs: - uses: php-actions/phpunit@v3 with: bootstrap: src/Vendor/autoload.php - php_version: "8.0" + php_version: ${{ matrix.php_version }} args: "tests"