From e27f121321285776dee8fc3cf6db6a96ad1e4a5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Wed, 12 Oct 2022 17:17:30 +0200 Subject: [PATCH] Test on PHP 8.2 and update test environment --- .github/workflows/ci.yml | 7 +++++-- phpunit.xml.dist | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 995933f9..44830267 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,10 +6,12 @@ on: jobs: PHPUnit: - runs-on: ubuntu-20.04 + name: PHPUnit (PHP ${{ matrix.php }}) + runs-on: ubuntu-22.04 strategy: matrix: php: + - 8.2 - 8.1 - 8.0 - 7.4 @@ -22,10 +24,11 @@ jobs: - 5.4 - 5.3 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} + coverage: xdebug - run: composer install - run: vendor/bin/phpunit --coverage-text if: ${{ matrix.php >= 7.3 }} diff --git a/phpunit.xml.dist b/phpunit.xml.dist index fffc7f59..e462441b 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -17,4 +17,7 @@ ./src/ + + +