From 245bb612f3f2c4253530a77a1e92089cc24eb640 Mon Sep 17 00:00:00 2001 From: Bojan Zivanovic Date: Mon, 13 Jan 2025 17:01:36 +0100 Subject: [PATCH] Start testing on PHP 8.2 and 8.3. --- .github/workflows/build.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 320d3277..e56f66f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,21 +2,23 @@ name: Build on: [push, pull_request] jobs: - build-test: + run: runs-on: ubuntu-latest + strategy: + matrix: + php-versions: ['8.1', '8.2', '8.3'] + name: PHPUnit @ PHP ${{ matrix.php-versions }} steps: - uses: actions/checkout@v4 - uses: php-actions/composer@v6 - - - name: PHPUnit Tests PHP 8.1 - uses: php-actions/phpunit@master + - uses: php-actions/phpunit@master with: bootstrap: vendor/autoload.php configuration: phpunit.xml args: --coverage-text php_extensions: xdebug bcmath - php_version: 8.1 + php_version: ${{ matrix.php-versions }} version: 9 env: - XDEBUG_MODE: coverage \ No newline at end of file + XDEBUG_MODE: coverage