From 17d947ad7c83e724ed24cc0728ab16f5bf703d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Thu, 13 Oct 2022 09:12:54 +0200 Subject: [PATCH] Test on PHP 8.2 and update test environment --- .github/workflows/ci.yml | 31 ++++++++++++++++++------------- phpunit.xml.dist | 3 +++ 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5da8aa8..d4983d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,10 @@ jobs: strategy: matrix: os: - - ubuntu-20.04 - - windows-2019 + - ubuntu-22.04 + - windows-2022 php: + - 8.2 - 8.1 - 8.0 - 7.4 @@ -21,7 +22,7 @@ jobs: - 7.2 - 7.1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} @@ -34,10 +35,11 @@ jobs: Built-in-webserver: name: Built-in webserver (PHP ${{ matrix.php }}) - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: php: + - 8.2 - 8.1 - 8.0 - 7.4 @@ -45,7 +47,7 @@ jobs: - 7.2 - 7.1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} @@ -56,14 +58,14 @@ jobs: Docker: name: Docker (${{ matrix.dockerfile }}) - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: dockerfile: - "Dockerfile-basics" - "Dockerfile-production" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: 8.1 @@ -78,10 +80,11 @@ jobs: nginx-webserver: name: nginx + PHP-FPM (PHP ${{ matrix.php }}) - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: php: + - 8.2-rc - 8.1 - 8.0 - 7.4 @@ -89,7 +92,7 @@ jobs: - 7.2 - 7.1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} @@ -101,10 +104,11 @@ jobs: Apache-webserver: name: Apache webserver (PHP ${{ matrix.php }}) - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: php: + - 8.2-rc - 8.1 - 8.0 - 7.4 @@ -112,7 +116,7 @@ jobs: - 7.2 - 7.1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} @@ -123,10 +127,11 @@ jobs: PHP-webserver: name: PHP webserver (PHP ${{ matrix.php }}) - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: php: + - 8.2 - 8.1 - 8.0 - 7.4 @@ -134,7 +139,7 @@ jobs: - 7.2 - 7.1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 6eb0fab..ea22d4c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -17,4 +17,7 @@ ./src/ + + +