From 966ce837e641d27293b9dda15e393a6361e1bd79 Mon Sep 17 00:00:00 2001 From: Simon Frings Date: Fri, 4 Aug 2023 10:58:56 +0200 Subject: [PATCH] Run tests on PHP 8.1 and 8.2 --- .github/workflows/ci.yml | 12 +++++++----- phpunit.xml.dist | 6 +++++- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42fec7e..adf7946 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,13 +6,16 @@ on: jobs: PHPUnit: + name: PHPUnit (PHP ${{ matrix.php }} on ${{ matrix.os }}) runs-on: ${{ matrix.os }} strategy: matrix: os: - - ubuntu-20.04 - - windows-2019 + - ubuntu-22.04 + - windows-2022 php: + - 8.2 + - 8.1 - 8.0 - 7.4 - 7.3 @@ -20,9 +23,8 @@ jobs: - 7.1 - 7.0 steps: - - uses: actions/checkout@v2 - - name: Setup PHP - uses: shivammathur/setup-php@v2 + - uses: actions/checkout@v3 + - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} extensions: zlib diff --git a/phpunit.xml.dist b/phpunit.xml.dist index e556ea8..02282c3 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -4,8 +4,9 @@ + convertDeprecationsToExceptions="true"> ./tests/ @@ -16,4 +17,7 @@ ./src/ + + +