From 25622bf250cf66b5fed1289e2ec6412906359f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Mon, 31 Oct 2022 11:12:32 +0100 Subject: [PATCH] Test on PHP 8.2 and update test environment --- .github/workflows/ci.yml | 9 +++++---- phpunit.xml.dist | 5 ++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39a3608..0c94afc 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 @@ -26,7 +27,7 @@ jobs: - 5.4 - 5.3 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} @@ -40,7 +41,7 @@ jobs: - run: composer require symfony/console:^6.0 --dry-run --working-dir=tests/install-as-dep if: ${{ matrix.php >= 8.0 }} - run: composer require symfony/console:^5.0 --dry-run --working-dir=tests/install-as-dep - if: ${{ matrix.php >= 7.2 && (matrix.php < 8.0 || matrix.os != 'windows-2019') }} + if: ${{ matrix.php >= 7.2 && (matrix.php < 8.0 || matrix.os != 'windows-2022') }} - run: composer require symfony/console:^4.0 --dry-run --working-dir=tests/install-as-dep if: ${{ matrix.php >= 7.1 && matrix.php < 8.0 }} - run: composer require symfony/console:^3.0 --dry-run --working-dir=tests/install-as-dep diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 8c8b3ae..5975f20 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,7 +1,7 @@ -./src/ + + +